소스 검색

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 일 전
부모
커밋
b73591e8e4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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>