diff --git a/src/renderer/src/components/settings/ComfyUISettingsContent.vue b/src/renderer/src/components/settings/ComfyUISettingsContent.vue index b8106e170..0719859d2 100644 --- a/src/renderer/src/components/settings/ComfyUISettingsContent.vue +++ b/src/renderer/src/components/settings/ComfyUISettingsContent.vue @@ -33,7 +33,8 @@ import { EyeOff, Settings2, Repeat2, - Server + Server, + Ellipsis } from 'lucide-vue-next' import type { Component } from 'vue' import { useComfyUISettings } from '../../composables/useComfyUISettings' @@ -557,9 +558,15 @@ function actionIcon(id: string): Component { } } -const pinBottomMenuActions = computed(() => - pinBottomActions.value.map((action) => ({ ...action, icon: actionIcon(action.id) })) -) +const pinBottomMenuActions = computed(() => { + const firstDanger = pinBottomActions.value.findIndex((action) => action.style === 'danger') + return pinBottomActions.value.map((action, index) => ({ + ...action, + icon: actionIcon(action.id), + style: action.id === 'untrack' || action.id === 'remove' ? undefined : action.style, + separator: index === firstDanger + })) +}) function handlePrimaryAction(): void { const selectedInstall = installation.value @@ -771,7 +778,10 @@ defineExpose({ :data-testid="TID.settingsTab(tab.key)" @click="selectTab(tab.key)" > - + window.removeEventListener('blur', onWindowBlur)) @close-auto-focus="onCloseAutoFocus" > - - - {{ action.label }} - + + {{ action.label }} + +