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 {
@click="handleButtonClick"
>
<icon
v-if="collapsed"
v-show="collapsed"
:css-classes="collapsedButtonIconClasses"
:name="collapsedButtonIcon"
/>
<span
v-else
v-show="!collapsed"
class="issuable-todo-inner"
>
{{ buttonLabel }}
</span>
<loading-icon
v-if="isActionActive"
v-show="isActionActive"
:inline="true"
/>
</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