From c29d33f9638aabaed6b2bd4c36464ad41fa5ebc7 Mon Sep 17 00:00:00 2001 From: puriphatt Date: Mon, 5 Aug 2024 11:21:14 +0000 Subject: [PATCH] fix: profile banner tabs & active status --- src/components/ProfileBanner.vue | 165 ++++++++++++++++++++----------- 1 file changed, 108 insertions(+), 57 deletions(-) diff --git a/src/components/ProfileBanner.vue b/src/components/ProfileBanner.vue index c1217ee0..ebb2e0ab 100644 --- a/src/components/ProfileBanner.vue +++ b/src/components/ProfileBanner.vue @@ -17,6 +17,7 @@ defineProps<{ useToggle?: boolean; menu?: { icon: string; color: string; bgColor: string }[]; + tabsList?: { name: string; label: string }[]; }>(); defineEmits<{ @@ -35,12 +36,17 @@ const toggleStatus = defineModel('toggleStatus', { default: 'CREATED', }); +const currentTab = defineModel('currentTab'); + const showOverlay = ref(false); + +currentTab.value = 'name1';