Skip to content

Commit

Permalink
Add isPersonal check for delete button (#982)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatinAniss authored Jul 23, 2023
1 parent 249da21 commit 859b5ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/emote-set/EmoteSetPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<Icon icon="pen" />
</div>

<div v-if="editable" v-wave class="action-button" name="delete" @click="promptDelete">
<div v-if="editable && !isPersonal" v-wave class="action-button" name="delete" @click="promptDelete">

Check failure on line 24 in src/views/emote-set/EmoteSetPage.vue

View workflow job for this annotation

GitHub Actions / Website Lint, Build, Test, Deploy

Replace `·v-if="editable·&&·!isPersonal"·v-wave·class="action-button"·name="delete"·@click="promptDelete"` with `⏎↹↹↹↹↹↹↹v-if="editable·&&·!isPersonal"⏎↹↹↹↹↹↹↹v-wave⏎↹↹↹↹↹↹↹class="action-button"⏎↹↹↹↹↹↹↹name="delete"⏎↹↹↹↹↹↹↹@click="promptDelete"⏎↹↹↹↹↹↹`
<Icon icon="trash" />
</div>
</div>
Expand Down

0 comments on commit 859b5ac

Please sign in to comment.