From d1a3e65fb314e34927c01903dfa18f5f464e2836 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 e433f5a5738a..c87db5961306 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); @@ -99,11 +99,14 @@ function userTitle(title: string) {