Skip to content

Commit

Permalink
chore: Change order of resolve action dropdown buttons (#7456)
Browse files Browse the repository at this point in the history
  • Loading branch information
nithindavid committed Jul 4, 2023
1 parent 985b3f3 commit 4c7c1cd
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions app/javascript/dashboard/components/buttons/ResolveAction.vue
Expand Up @@ -54,19 +54,21 @@
variant="clear"
color-scheme="secondary"
size="small"
icon="book-clock"
@click="() => toggleStatus(STATUS_TYPE.PENDING)"
icon="snooze"
@click="() => openSnoozeModal()"
>
{{ this.$t('CONVERSATION.RESOLVE_DROPDOWN.MARK_PENDING') }}
{{ this.$t('CONVERSATION.RESOLVE_DROPDOWN.SNOOZE_UNTIL') }}
</woot-button>
</woot-dropdown-item>
<woot-dropdown-item v-if="!isPending">
<woot-button
variant="clear"
color-scheme="secondary"
size="small"
icon="snooze"
@click="() => openSnoozeModal()"
icon="book-clock"
@click="() => toggleStatus(STATUS_TYPE.PENDING)"
>
{{ this.$t('CONVERSATION.RESOLVE_DROPDOWN.SNOOZE_UNTIL') }}
{{ this.$t('CONVERSATION.RESOLVE_DROPDOWN.MARK_PENDING') }}
</woot-button>
</woot-dropdown-item>
</woot-dropdown-menu>
Expand Down

0 comments on commit 4c7c1cd

Please sign in to comment.