Expand section for active access by default
This commit is contained in:
parent
941fdceff0
commit
53f959ca8b
@ -1,9 +1,16 @@
|
||||
export default {
|
||||
name: 'toggler',
|
||||
|
||||
props: {
|
||||
defaultVisible: {
|
||||
type: Boolean,
|
||||
default: () => false
|
||||
}
|
||||
},
|
||||
|
||||
data: function () {
|
||||
return {
|
||||
isVisible: false
|
||||
isVisible: this.defaultVisible
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -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'>
|
||||
|
Loading…
x
Reference in New Issue
Block a user