fix: Snooze conversation not working in Inbox view (#9875)

This commit is contained in:
Sivin Varghese
2024-08-07 18:57:29 +05:30
committed by GitHub
parent 89acbd8d09
commit 646cfb97e7
6 changed files with 84 additions and 64 deletions

View File

@@ -54,7 +54,7 @@ const showAdditionalActions = computed(
);
const showOpenButton = computed(() => {
return isResolved.value || isSnoozed.value;
return isPending.value || isSnoozed.value;
});
const getConversationParams = () => {
@@ -208,7 +208,7 @@ useEmitter(CMD_RESOLVE_CONVERSATION, onCmdResolveConversation);
color-scheme="secondary"
size="small"
icon="book-clock"
@click="() => toggleStatus(STATUS_TYPE.PENDING)"
@click="() => toggleStatus(wootConstants.STATUS_TYPE.PENDING)"
>
{{ t('CONVERSATION.RESOLVE_DROPDOWN.MARK_PENDING') }}
</woot-button>