From 721b38d279a2ac61e384d20273d820c3ee65c574 Mon Sep 17 00:00:00 2001 From: Ahmed Awan Date: Wed, 29 May 2024 15:34:28 -0500 Subject: [PATCH] move `MultipleViewItem` actions to top Add `HistoryNavigation` to the top section as well. WIP: There is a bug right now that applies the dropdown action to all pinned histories in multiview (e.g.: You try to delete a history from the dropdown, but a modal opens up for each pinned history --- .../CurrentHistory/HistoryNavigation.vue | 22 ++++--- client/src/components/History/Index.vue | 3 +- .../History/Layout/DetailsLayout.vue | 1 - .../History/Multiple/MultipleViewItem.vue | 58 +++++++++++-------- 4 files changed, 49 insertions(+), 35 deletions(-) diff --git a/client/src/components/History/CurrentHistory/HistoryNavigation.vue b/client/src/components/History/CurrentHistory/HistoryNavigation.vue index 1dd671f0e6a0..7420c8f2e53c 100644 --- a/client/src/components/History/CurrentHistory/HistoryNavigation.vue +++ b/client/src/components/History/CurrentHistory/HistoryNavigation.vue @@ -62,13 +62,13 @@ library.add( interface Props { histories: HistorySummary[]; history: HistorySummary; - title?: string; historiesLoading?: boolean; + minimal?: boolean; } const props = withDefaults(defineProps(), { - title: "Histories", historiesLoading: false, + minimal: false, }); const showSwitchModal = ref(false); @@ -115,11 +115,14 @@ function userTitle(title: string) {