From f2eca1b5534015db4f16f7401eb58aeebcf357bd Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Wed, 11 Dec 2024 12:59:54 -0500 Subject: [PATCH 1/2] Fix activity-bar-id handling --- client/src/components/ActivityBar/ActivityBar.vue | 3 +++ client/src/components/ActivityBar/Items/InteractiveItem.vue | 5 +++-- client/src/components/ActivityBar/Items/NotificationItem.vue | 3 ++- client/src/components/ActivityBar/Items/UploadItem.vue | 3 ++- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/client/src/components/ActivityBar/ActivityBar.vue b/client/src/components/ActivityBar/ActivityBar.vue index aee942c40ee9..dd2f0bbffc09 100644 --- a/client/src/components/ActivityBar/ActivityBar.vue +++ b/client/src/components/ActivityBar/ActivityBar.vue @@ -230,6 +230,7 @@ defineExpose({ v-if="activity.id === 'upload'" :id="`${activity.id}`" :key="activity.id" + :activity-bar-id="props.activityBarId" :icon="activity.icon" :title="activity.title" :tooltip="activity.tooltip" /> @@ -237,6 +238,7 @@ defineExpose({ v-else-if="activity.to && activity.id === 'interactivetools'" :id="`${activity.id}`" :key="activity.id" + :activity-bar-id="props.activityBarId" :icon="activity.icon" :is-active="isActiveRoute(activity.to)" :title="activity.title" @@ -274,6 +276,7 @@ defineExpose({ (); @@ -27,7 +28,7 @@ const emit = defineEmits<{ const tooltip = computed(() => totalCount.value === 1 - ? `You currently have 1 active interactive tool` + ? "You currently have 1 active interactive tool" : `You currently have ${totalCount.value} active interactive tools` ); @@ -36,7 +37,7 @@ const tooltip = computed(() =>