fix: only show error indicator when errors tab is enabled

Gate the error indicator (outline + dot) on the right side panel
toggle button behind the Comfy.RightSidePanel.ShowErrorsTab setting.
This commit is contained in:
jaeone94
2026-03-26 23:26:50 +09:00
parent dd7b1c0a55
commit e604926c87

View File

@@ -264,8 +264,13 @@ const shouldShowRedDot = computed((): boolean => {
const { hasAnyError, isErrorOverlayOpen } = storeToRefs(executionErrorStore)
const isErrorsTabEnabled = computed(() =>
settingStore.get('Comfy.RightSidePanel.ShowErrorsTab')
)
const showErrorIndicatorOnPanelButton = computed(
() =>
isErrorsTabEnabled.value &&
hasAnyError.value &&
!isRightSidePanelOpen.value &&
!isErrorOverlayOpen.value