feat: Add more snooze options (#7344)

This commit is contained in:
Muhsin Keloth
2023-06-19 17:05:16 +05:30
committed by GitHub
parent 5c5381c0a9
commit 9bed57c7d1
8 changed files with 237 additions and 30 deletions

View File

@@ -86,6 +86,7 @@ import {
hasPressedAltAndMKey,
} from 'shared/helpers/KeyboardHelpers';
import { findSnoozeTime } from 'dashboard/helper/snoozeHelpers';
import WootDropdownItem from 'shared/components/ui/dropdown/DropdownItem.vue';
import WootDropdownMenu from 'shared/components/ui/dropdown/DropdownMenu.vue';
@@ -181,7 +182,7 @@ export default {
onCmdSnoozeConversation(snoozeType) {
this.toggleStatus(
this.STATUS_TYPE.SNOOZED,
this.snoozeTimes[snoozeType] || null
findSnoozeTime(snoozeType) || null
);
},
onCmdOpenConversation() {