Commit c8d8dffe authored by Filipa Lacerda's avatar Filipa Lacerda

Use v-if in the expand button for performance

parent 81852d1f
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
@click="onClick"> @click="onClick">
... ...
</button> </button>
<span v-show="!isCollapsed"> <span v-if="!isCollapsed">
<slot name="expanded"></slot> <slot name="expanded"></slot>
</span> </span>
</span> </span>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment