diff --git a/src/components/ProfileBanner.vue b/src/components/ProfileBanner.vue index 258b3fd9..f376839c 100644 --- a/src/components/ProfileBanner.vue +++ b/src/components/ProfileBanner.vue @@ -21,7 +21,7 @@ defineProps<{ useToggle?: boolean; menu?: { icon: string; color: string; bgColor: string }[]; - tabsList?: { name: string | number; label: string }[]; + tabsList?: { name: string | number; label: string }[] | boolean; }>(); defineEmits<{ @@ -46,9 +46,10 @@ const showOverlay = ref(false); @@ -69,8 +70,8 @@ const showOverlay = ref(false); style="border-radius: 50%; border: 4px solid var(--surface-1)" > @@ -241,10 +242,11 @@ const showOverlay = ref(false); active-class="active-tab text-weight-bold" class="app-text-muted full-width" align="left" + v-if="typeof tabsList === 'object'" > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ title }} + + {{ title }} + + + + {{ caption }} + + + + + +