diff --git a/ui/src/components/ai-chat/component/answer-content/index.vue b/ui/src/components/ai-chat/component/answer-content/index.vue index 42e4da45..9feb36a8 100644 --- a/ui/src/components/ai-chat/component/answer-content/index.vue +++ b/ui/src/components/ai-chat/component/answer-content/index.vue @@ -148,11 +148,7 @@ function showSource(row: any) { if (props.type === 'log') { return true } else if (row.write_ed && 500 !== row.status) { - if ( - props.type === 'debug-ai-chat' || - props.application?.show_source || - props.application?.show_exec - ) { + if (props.type === 'debug-ai-chat') { return true } } diff --git a/ui/src/layout/layout-template/MainLayout.vue b/ui/src/layout/layout-template/MainLayout.vue index b34a8d87..6a8f4cce 100644 --- a/ui/src/layout/layout-template/MainLayout.vue +++ b/ui/src/layout/layout-template/MainLayout.vue @@ -1,10 +1,18 @@