From 23d20e12bd98529865aee7f998a46b5ce042c303 Mon Sep 17 00:00:00 2001 From: hvangeffen Date: Tue, 21 Nov 2023 10:33:51 +0100 Subject: [PATCH 1/4] Add nodata to columnitem --- src/components/general/ColumnItem.ts | 1 + src/components/general/ColumnMenu.vue | 1 + src/views/SpatialDisplayView.vue | 1 + 3 files changed, 3 insertions(+) diff --git a/src/components/general/ColumnItem.ts b/src/components/general/ColumnItem.ts index a9838c42..90d76ab6 100644 --- a/src/components/general/ColumnItem.ts +++ b/src/components/general/ColumnItem.ts @@ -8,4 +8,5 @@ export interface ColumnItem { href?: string target?: string icon?: string + nodata?: boolean } diff --git a/src/components/general/ColumnMenu.vue b/src/components/general/ColumnMenu.vue index bac754e4..920e9ee8 100644 --- a/src/components/general/ColumnMenu.vue +++ b/src/components/general/ColumnMenu.vue @@ -36,6 +36,7 @@ " :to="child.to" :class="getClass(child)" + :disabled="child.nodata" > {{ child.name }} @@ -151,3 +169,9 @@ function recursiveFind(stack: ColumnItem[], id: string): boolean { return false } + + From 78c12714c205e2f8534fe0047c35320cdc85c15b Mon Sep 17 00:00:00 2001 From: Werner Kramer Date: Wed, 17 Jan 2024 10:47:03 +0100 Subject: [PATCH 3/4] Ad --- src/components/general/ColumnItem.ts | 3 ++- src/components/general/ColumnMenu.vue | 8 ++++---- src/views/SpatialDisplayView.vue | 12 +++++++++--- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/src/components/general/ColumnItem.ts b/src/components/general/ColumnItem.ts index 90d76ab6..cd14df71 100644 --- a/src/components/general/ColumnItem.ts +++ b/src/components/general/ColumnItem.ts @@ -8,5 +8,6 @@ export interface ColumnItem { href?: string target?: string icon?: string - nodata?: boolean + disabled?: boolean + tooltipText?: string } diff --git a/src/components/general/ColumnMenu.vue b/src/components/general/ColumnMenu.vue index bf37e2e9..a52284ac 100644 --- a/src/components/general/ColumnMenu.vue +++ b/src/components/general/ColumnMenu.vue @@ -36,14 +36,14 @@ " :to="child.to" :class="getClass(child)" - :disabled="child.nodata" + :disabled="child.disabled" > {{ child.name }}