Jelajahi Sumber

docs: update version display in AppHeader to reflect dynamic versioning

- Changed the hardcoded version 'v5' to dynamically display the version from the runtime configuration, enhancing maintainability and accuracy of version representation.
alvarosabu 3 hari lalu
induk
melakukan
b73591e8e4
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      docs/app/components/AppHeader.vue

+ 1 - 1
docs/app/components/AppHeader.vue

@@ -65,7 +65,7 @@ const version = useRuntimeConfig().public.pkgVersion
         variant="subtle"
         size="sm"
       >
-        v5
+        {{ version }}
       </UBadge>
     </template>