UX/UI improvements.
This commit is contained in:
parent
418d3cc402
commit
4e6f5d36b8
14 changed files with 1964 additions and 924 deletions
|
|
@ -233,6 +233,18 @@ const getInitials = (name) => {
|
|||
const { data, pending, error: fetchError } = useFetch(`/api/members/${id}`);
|
||||
const member = computed(() => data.value?.member || null);
|
||||
|
||||
const pageBreadcrumbTitle = useState("pageBreadcrumbTitle", () => "");
|
||||
watch(
|
||||
member,
|
||||
(val) => {
|
||||
pageBreadcrumbTitle.value = val?.name || "";
|
||||
},
|
||||
{ immediate: true },
|
||||
);
|
||||
onUnmounted(() => {
|
||||
pageBreadcrumbTitle.value = "";
|
||||
});
|
||||
|
||||
// Page head
|
||||
useHead({
|
||||
title: computed(() =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue