Skip to content

A continuation of HomeBox the inventory and organization system built for the Home User

fix: Add page title for Label and Location pages (#803)

Michael Manganielloc53cefe6cbec
diff --git a/frontend/pages/label/[id].vue b/frontend/pages/label/[id].vue
index 208c1fdd..bffa698d 100644
--- a/frontend/pages/label/[id].vue
+++ b/frontend/pages/label/[id].vue
@@ -137,6 +137,9 @@
</Dialog>
<BaseContainer v-if="label">
+ <!-- set page title -->
+ <Title>{{ label.name }}</Title>
+
<Card class="p-3">
<header :class="{ 'mb-2': label.description }">
<div class="flex flex-wrap items-end gap-2">
diff --git a/frontend/pages/location/[id].vue b/frontend/pages/location/[id].vue
index 797af8cd..526046db 100644
--- a/frontend/pages/location/[id].vue
+++ b/frontend/pages/location/[id].vue
@@ -159,6 +159,9 @@
</Dialog>
<BaseContainer v-if="location">
+ <!-- set page title -->
+ <Title>{{ location.name }}</Title>
+
<Card class="p-3">
<header :class="{ 'mb-2': location?.description }">
<div class="flex flex-wrap items-end gap-2">