From 0b59f48fdba9c0bbb36e7a5e5febcd41f8ff8bf1 Mon Sep 17 00:00:00 2001 From: Abizrh Date: Thu, 14 Aug 2025 10:43:00 +0700 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat=20(patient):=20set=20dynamic?= =?UTF-8?q?=20title=20for=20patient=20pages?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/app.vue | 6 ++++++ app/components/layout/SidebarNavLink.vue | 4 ++-- app/pages/(features)/patient/add.vue | 6 +++++- app/pages/(features)/patient/index.vue | 6 +++++- 4 files changed, 18 insertions(+), 4 deletions(-) diff --git a/app/app.vue b/app/app.vue index 29936a9b..dfe34d61 100644 --- a/app/app.vue +++ b/app/app.vue @@ -5,6 +5,12 @@ const useIdFunction = () => useId() const textDirection = useTextDirection({ initialValue: 'ltr' }) const dir = computed(() => (textDirection.value === 'rtl' ? 'rtl' : 'ltr')) + +useHead({ + // as a string, + // where `%s` is replaced with the title + titleTemplate: '%s - RSSA', +})