mirror of
https://github.com/n8n-io/n8n.git
synced 2026-09-24 23:22:38 +08:00
feat(editor): Expand Instance AI agent step timeline by default on cloud (no-changelog) (#29446)
This commit is contained in:
@@ -6,13 +6,16 @@ import AnimatedCollapsibleContent from './AnimatedCollapsibleContent.vue';
|
||||
import { computed, ref, watch } from 'vue';
|
||||
import SubagentStepTimeline from './SubagentStepTimeline.vue';
|
||||
import TimelineStepButton from './TimelineStepButton.vue';
|
||||
import { useSettingsStore } from '@/app/stores/settings.store';
|
||||
|
||||
const props = defineProps<{
|
||||
agentNode: InstanceAiAgentNode;
|
||||
}>();
|
||||
|
||||
const settingsStore = useSettingsStore();
|
||||
|
||||
const isActive = computed(() => props.agentNode.status === 'active');
|
||||
const isExpanded = ref(false);
|
||||
const isExpanded = ref(settingsStore.isCloudDeployment);
|
||||
|
||||
const isError = computed(() => props.agentNode.status === 'error');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user