mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 11:22:15 +00:00
feat(editor): Show error state in the logs overview (#14248)
This commit is contained in:
@@ -101,6 +101,7 @@ import { useUniqueNodeName } from '@/composables/useUniqueNodeName';
|
||||
import { isPresent } from '../utils/typesUtils';
|
||||
import { useProjectsStore } from '@/stores/projects.store';
|
||||
import type { CanvasLayoutEvent } from './useCanvasLayout';
|
||||
import { LOGS_PANEL_STATE } from '@/components/CanvasChat/types/logs';
|
||||
|
||||
type AddNodeData = Partial<INodeUi> & {
|
||||
type: string;
|
||||
@@ -1976,7 +1977,9 @@ export function useCanvasOperations({ router }: { router: ReturnType<typeof useR
|
||||
const workflow = workflowsStore.getCurrentWorkflow();
|
||||
|
||||
workflowsStore.setPanelState(
|
||||
workflowsStore.chatPanelState === 'closed' ? 'attached' : 'closed',
|
||||
workflowsStore.chatPanelState === LOGS_PANEL_STATE.CLOSED
|
||||
? LOGS_PANEL_STATE.ATTACHED
|
||||
: LOGS_PANEL_STATE.CLOSED,
|
||||
);
|
||||
|
||||
const payload = {
|
||||
|
||||
Reference in New Issue
Block a user