Expand section for active access by default

This commit is contained in:
luis cielak 2018-08-23 16:18:53 -04:00 committed by luisgov
parent 941fdceff0
commit 53f959ca8b
2 changed files with 9 additions and 2 deletions

View File

@ -1,9 +1,16 @@
export default {
name: 'toggler',
props: {
defaultVisible: {
type: Boolean,
default: () => false
}
},
data: function () {
return {
isVisible: false
isVisible: this.defaultVisible
}
},

View File

@ -52,7 +52,7 @@
</div>
</form>
<div is="toggler" class='block-list project-list-item'>
<div is='toggler' default-visible class='block-list project-list-item'>
<template slot-scope='{ isVisible, toggle }'>
<header class='block-list__header'>
<button v-on:click='toggle' class='icon-link icon-link--large icon-link--default spend-table__project__toggler'>