Skip to content

Commit

Permalink
πŸ› disable reveal button while loading story
Browse files Browse the repository at this point in the history
  • Loading branch information
haliphax committed Mar 27, 2024
1 parent ea5e04d commit 914bbb9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/front-end/scripts/views/story/actions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ export default Actions;
</button>
</li>
<li>
<button :disabled="$store.state.story.story?.revealed" @click="reveal">
<button
:disabled="$store.state.story.story?.revealed ?? true"
@click="reveal"
>
<span aria-hidden="true">πŸ‘€</span>
Reveal
</button>
Expand Down

0 comments on commit 914bbb9

Please sign in to comment.