diff --git a/app/javascript/dashboard/components/buttons/ResolveAction.vue b/app/javascript/dashboard/components/buttons/ResolveAction.vue
index 81081ff53..4c18f248c 100644
--- a/app/javascript/dashboard/components/buttons/ResolveAction.vue
+++ b/app/javascript/dashboard/components/buttons/ResolveAction.vue
@@ -59,51 +59,16 @@
>
{{ this.$t('CONVERSATION.RESOLVE_DROPDOWN.MARK_PENDING') }}
+ openSnoozeModal()"
+ >
+ {{ this.$t('CONVERSATION.RESOLVE_DROPDOWN.SNOOZE_UNTIL') }}
+
-
-
-
-
- toggleStatus(STATUS_TYPE.SNOOZED, null)"
- >
- {{ this.$t('CONVERSATION.RESOLVE_DROPDOWN.SNOOZE.NEXT_REPLY') }}
-
-
-
- toggleStatus(STATUS_TYPE.SNOOZED, snoozeTimes.tomorrow)
- "
- >
- {{ this.$t('CONVERSATION.RESOLVE_DROPDOWN.SNOOZE.TOMORROW') }}
-
-
-
- toggleStatus(STATUS_TYPE.SNOOZED, snoozeTimes.nextWeek)
- "
- >
- {{ this.$t('CONVERSATION.RESOLVE_DROPDOWN.SNOOZE.NEXT_WEEK') }}
-
-
-
@@ -122,9 +87,7 @@ import {
} from 'shared/helpers/KeyboardHelpers';
import WootDropdownItem from 'shared/components/ui/dropdown/DropdownItem.vue';
-import WootDropdownSubMenu from 'shared/components/ui/dropdown/DropdownSubMenu.vue';
import WootDropdownMenu from 'shared/components/ui/dropdown/DropdownMenu.vue';
-import WootDropdownDivider from 'shared/components/ui/dropdown/DropdownDivider';
import wootConstants from 'dashboard/constants/globals';
import {
@@ -137,8 +100,6 @@ export default {
components: {
WootDropdownItem,
WootDropdownMenu,
- WootDropdownSubMenu,
- WootDropdownDivider,
},
mixins: [clickaway, alertMixin, eventListenerMixins, snoozeTimesMixin],
props: { conversationId: { type: [String, Number], required: true } },
@@ -252,6 +213,10 @@ export default {
this.isLoading = false;
});
},
+ openSnoozeModal() {
+ const ninja = document.querySelector('ninja-keys');
+ ninja.open({ parent: 'snooze_conversation' });
+ },
},
};
@@ -270,5 +235,9 @@ export default {
right: 0;
max-width: 20rem;
min-width: 15.6rem;
+
+ .dropdown-menu__item {
+ margin-bottom: 0;
+ }
}
diff --git a/app/javascript/dashboard/components/widgets/conversation/contextMenu/Index.vue b/app/javascript/dashboard/components/widgets/conversation/contextMenu/Index.vue
index 643b2be03..bd9a018e6 100644
--- a/app/javascript/dashboard/components/widgets/conversation/contextMenu/Index.vue
+++ b/app/javascript/dashboard/components/widgets/conversation/contextMenu/Index.vue
@@ -15,14 +15,13 @@
@click="toggleStatus(option.key, null)"
/>
-
-
-
+
+