mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-19 22:09:37 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user