Commit dabe7df1 authored by Kushal Pandya's avatar Kushal Pandya

Use `v-show` to toggle element visibility

parent bde81ef6
...@@ -80,18 +80,18 @@ export default { ...@@ -80,18 +80,18 @@ export default {
@click="handleButtonClick" @click="handleButtonClick"
> >
<icon <icon
v-if="collapsed" v-show="collapsed"
:css-classes="collapsedButtonIconClasses" :css-classes="collapsedButtonIconClasses"
:name="collapsedButtonIcon" :name="collapsedButtonIcon"
/> />
<span <span
v-else v-show="!collapsed"
class="issuable-todo-inner" class="issuable-todo-inner"
> >
{{ buttonLabel }} {{ buttonLabel }}
</span> </span>
<loading-icon <loading-icon
v-if="isActionActive" v-show="isActionActive"
:inline="true" :inline="true"
/> />
</button> </button>
......
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