mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
fix(editor): Remove automatic resizing of output view (#16672)
This commit is contained in:
@@ -13,7 +13,6 @@ import { useWorkflowsStore } from '@/stores/workflows.store';
|
|||||||
import { useNDVStore } from '@/stores/ndv.store';
|
import { useNDVStore } from '@/stores/ndv.store';
|
||||||
import { useNodeTypesStore } from '@/stores/nodeTypes.store';
|
import { useNodeTypesStore } from '@/stores/nodeTypes.store';
|
||||||
import RunDataAi from './RunDataAi/RunDataAi.vue';
|
import RunDataAi from './RunDataAi/RunDataAi.vue';
|
||||||
import { ndvEventBus } from '@/event-bus';
|
|
||||||
import { useNodeType } from '@/composables/useNodeType';
|
import { useNodeType } from '@/composables/useNodeType';
|
||||||
import { usePinnedData } from '@/composables/usePinnedData';
|
import { usePinnedData } from '@/composables/usePinnedData';
|
||||||
import { useTelemetry } from '@/composables/useTelemetry';
|
import { useTelemetry } from '@/composables/useTelemetry';
|
||||||
@@ -294,14 +293,6 @@ const onRunIndexChange = (run: number) => {
|
|||||||
emit('runChange', run);
|
emit('runChange', run);
|
||||||
};
|
};
|
||||||
|
|
||||||
const onUpdateOutputMode = (newOutputMode: OutputType) => {
|
|
||||||
if (newOutputMode === OUTPUT_TYPE.LOGS) {
|
|
||||||
ndvEventBus.emit('setPositionByName', 'minLeft');
|
|
||||||
} else {
|
|
||||||
ndvEventBus.emit('setPositionByName', 'initial');
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
// Set the initial output mode when the component is mounted
|
// Set the initial output mode when the component is mounted
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
outputMode.value = defaultOutputMode.value;
|
outputMode.value = defaultOutputMode.value;
|
||||||
@@ -360,7 +351,6 @@ const activatePane = () => {
|
|||||||
v-model="outputMode"
|
v-model="outputMode"
|
||||||
data-test-id="ai-output-mode-select"
|
data-test-id="ai-output-mode-select"
|
||||||
:options="outputTypes"
|
:options="outputTypes"
|
||||||
@update:model-value="onUpdateOutputMode"
|
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
<span v-else :class="$style.title">
|
<span v-else :class="$style.title">
|
||||||
|
|||||||
Reference in New Issue
Block a user