From 64d8788867c020be8a69149af0e18962d4603290 Mon Sep 17 00:00:00 2001 From: silvester-pari Date: Mon, 23 Oct 2023 09:17:35 +0000 Subject: [PATCH] fix: tool mode --- app/src/components/UiPanelsLayout.vue | 40 ++++++++------------------- 1 file changed, 11 insertions(+), 29 deletions(-) diff --git a/app/src/components/UiPanelsLayout.vue b/app/src/components/UiPanelsLayout.vue index 349aefd160..21f32ed1a8 100644 --- a/app/src/components/UiPanelsLayout.vue +++ b/app/src/components/UiPanelsLayout.vue @@ -70,37 +70,19 @@ export default { handler(newVal) { if (this.gtif && !newVal) { this.panels.left[1].title = 'Narratives'; - this.panels.right = [ - { - id: 4, - title: 'Information', - heightPercentage: 50, - }, - { - id: 5, - title: 'Analysis', - heightPercentage: 50, - }, - ]; + this.panels.right = []; } else { this.panels.left[1].title = 'Layers'; - this.panels.right = [ - { - id: 4, - title: 'Layers', - heightPercentage: 33, - }, - { - id: 5, - title: 'Filters', - heightPercentage: 33, - }, - { - id: 6, - title: 'Layers', - heightPercentage: 33, - }, - ]; + this.panels.right = [{ + id: 4, + title: 'Information', + heightPercentage: 50, + }, + { + id: 5, + title: 'Analysis', + heightPercentage: 50, + }]; } }, },