mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-03 22:59:14 +00:00
fix: remove console.debug statements for lint compliance
Amp-Thread-ID: https://ampcode.com/threads/T-019c21eb-bc34-763e-a553-17ff79018dcf
This commit is contained in:
@@ -132,20 +132,15 @@ export const useBottomPanelStore = defineStore('bottomPanel', () => {
|
||||
// Use __DISTRIBUTION__ directly for proper dead code elimination
|
||||
if (__DISTRIBUTION__ !== 'cloud') {
|
||||
try {
|
||||
console.debug('[BottomPanel] Loading terminal tabs...')
|
||||
const { useLogsTerminalTab, useCommandTerminalTab } =
|
||||
await import('@/composables/bottomPanelTabs/useTerminalTabs')
|
||||
console.debug('[BottomPanel] Terminal tabs loaded, registering...')
|
||||
registerBottomPanelTab(useLogsTerminalTab())
|
||||
if (isElectron()) {
|
||||
registerBottomPanelTab(useCommandTerminalTab())
|
||||
}
|
||||
console.debug('[BottomPanel] Terminal tabs registered')
|
||||
} catch (error) {
|
||||
console.error('Failed to load terminal tabs:', error)
|
||||
}
|
||||
} else {
|
||||
console.debug('[BottomPanel] Skipping terminal tabs (cloud distribution)')
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user