Skip to content

Commit

Permalink
[bugfix] fix visible sidebar version
Browse files Browse the repository at this point in the history
  • Loading branch information
Kreezag committed Dec 17, 2023
1 parent 6deca53 commit c378431
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 55 deletions.
4 changes: 2 additions & 2 deletions layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ export default defineComponent({
? `v${apiVersion}`
: `@${apiVersion}`,
clientVersion:
!$config?.version || $config.version === "0.0.1"
!$config?.public?.version || $config.public.version === "0.0.1"
? "@dev"
: `v${$config.version}`,
: `v${$config.public.version}`,
};
}
Expand Down
55 changes: 2 additions & 53 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2259,7 +2259,7 @@
"@nuxt/schema" "^3.8.2"
execa "^7.2.0"

"@nuxt/[email protected]", "@nuxt/devtools-kit@^1.0.2", "@nuxt/devtools-kit@latest":
"@nuxt/[email protected]", "@nuxt/devtools-kit@^1.0.2":
version "1.0.6"
resolved "https://registry.yarnpkg.com/@nuxt/devtools-kit/-/devtools-kit-1.0.6.tgz#e4a96fc20a9bb88fe58a3d775fcc1e317e3438cb"
integrity sha512-CUSE++NRTIwvBWbLsPzLZIDMpXr6oyllaWm8tOR3Wgr/04jW31uyWbXjU/fxRuDotQwZfcTe19uunRoCoBnk1Q==
Expand Down Expand Up @@ -2386,30 +2386,6 @@
which "^3.0.1"
ws "^8.14.2"

"@nuxt/[email protected]":
version "3.7.3"
resolved "https://registry.yarnpkg.com/@nuxt/kit/-/kit-3.7.3.tgz#24a32bdf2eaa3f8f6c81079fb2a3543980b55d26"
integrity sha512-bhP02i6CNti15Z4ix3LpR3fd1ANtTcpfS3CDSaCja24hDt3UxIasyp52mqD9LRC+OxrUVHJziB18EwUtS6RLDQ==
dependencies:
"@nuxt/schema" "3.7.3"
c12 "^1.4.2"
consola "^3.2.3"
defu "^6.1.2"
globby "^13.2.2"
hash-sum "^2.0.0"
ignore "^5.2.4"
jiti "^1.20.0"
knitwork "^1.0.0"
mlly "^1.4.2"
pathe "^1.1.1"
pkg-types "^1.0.3"
scule "^1.0.0"
semver "^7.5.4"
ufo "^1.3.0"
unctx "^2.3.1"
unimport "^3.3.0"
untyped "^1.4.0"

"@nuxt/[email protected]":
version "3.8.1"
resolved "https://registry.yarnpkg.com/@nuxt/kit/-/kit-3.8.1.tgz#64b3f161fdf56175af0f535c465b0c76b9730da0"
Expand Down Expand Up @@ -2510,22 +2486,6 @@
unimport "^3.0.14"
untyped "^1.3.2"

"@nuxt/[email protected]":
version "3.7.3"
resolved "https://registry.yarnpkg.com/@nuxt/schema/-/schema-3.7.3.tgz#84b2ee481200f764ac76201ba92de0a2fa04f3f1"
integrity sha512-Uqe3Z9RnAROzv5owQo//PztD9d4csKK6ulwQO1hIAinCh34X7z2zrv9lhm14hlRYU1n7ISEi4S7UeHgL/r8d8A==
dependencies:
"@nuxt/ui-templates" "^1.3.1"
defu "^6.1.2"
hookable "^5.5.3"
pathe "^1.1.1"
pkg-types "^1.0.3"
postcss-import-resolver "^2.0.0"
std-env "^3.4.3"
ufo "^1.3.0"
unimport "^3.3.0"
untyped "^1.4.0"

"@nuxt/[email protected]":
version "3.8.1"
resolved "https://registry.yarnpkg.com/@nuxt/schema/-/schema-3.8.1.tgz#03b78c0af5fcc6f33eee5964c7ba5508fb4da13c"
Expand Down Expand Up @@ -2712,17 +2672,6 @@
eslint-plugin-vue "^9.7.0"
local-pkg "^0.4.2"

"@nuxtjs/storybook@^7.0.0":
version "7.0.0"
resolved "https://registry.yarnpkg.com/@nuxtjs/storybook/-/storybook-7.0.0.tgz#b62cc911932385e3dec84132b607b0c1c045327e"
integrity sha512-h/ZYc8kqgaij5DCBy39Cc6HzRYRVEbakYbf4iCQoWlvDE+E1RssGpXlGNXXh+FIaFhTIEh/dff7JgxXZUASX+w==
dependencies:
"@nuxt/devtools-kit" latest
"@nuxt/kit" "3.7.3"
chalk "^5.3.0"
defu "^6.1.2"
get-port-please "^3.1.1"

"@nuxtjs/tailwindcss@^6.2.0":
version "6.8.0"
resolved "https://registry.npmjs.org/@nuxtjs/tailwindcss/-/tailwindcss-6.8.0.tgz"
Expand Down Expand Up @@ -14323,7 +14272,7 @@ unimport@^3.0.14:
strip-literal "^1.0.1"
unplugin "^1.4.0"

unimport@^3.3.0, unimport@^3.4.0, unimport@^3.6.1:
unimport@^3.4.0, unimport@^3.6.1:
version "3.6.1"
resolved "https://registry.yarnpkg.com/unimport/-/unimport-3.6.1.tgz#b1448ba7c86ee5fca362ba4030691759205998f9"
integrity sha512-zKzbp8AQ+l8QK3XrONtUBdgBbMI8TkGh8hBYF77ZkVqMLLIAHwGSwJRFolPQMBx/5pezeRKvmu2gzlqnxRZeqQ==
Expand Down

0 comments on commit c378431

Please sign in to comment.