diff --git a/src/components/TopMenuSection.vue b/src/components/TopMenuSection.vue index 9714b8153..f9cc7054a 100644 --- a/src/components/TopMenuSection.vue +++ b/src/components/TopMenuSection.vue @@ -20,17 +20,6 @@ class="[&:not(:has(*>*:not(:empty)))]:hidden" > - - - queueStore.pendingTasks.length) const queueHistoryTooltipConfig = computed(() => buildTooltipConfig(t('sideToolbar.queueProgressOverlay.viewJobHistory')) ) -const cancelJobTooltipConfig = computed(() => - buildTooltipConfig(t('menu.interrupt')) -) // Right side panel toggle const { isOpen: isRightSidePanelOpen } = storeToRefs(rightSidePanelStore) -const { isIdle: isExecutionIdle } = storeToRefs(executionStore) const rightSidePanelTooltipConfig = computed(() => buildTooltipConfig(t('rightSidePanel.togglePanel')) ) @@ -131,11 +112,6 @@ onMounted(() => { const toggleQueueOverlay = () => { isQueueOverlayExpanded.value = !isQueueOverlayExpanded.value } - -const cancelCurrentJob = async () => { - if (isExecutionIdle.value) return - await commandStore.execute('Comfy.Interrupt') -}