Skip to content

Commit

Permalink
fix(client): pinia panel visible logic (#624)
Browse files Browse the repository at this point in the history
  • Loading branch information
webfansplz committed Mar 20, 2024
1 parent 8016a6b commit ed599ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/devtools/client/pages/modules/pinia.vue
Expand Up @@ -10,7 +10,7 @@ definePageMeta({
layout: 'full',
show() {
const configs = useServerConfig()
return () => configs.value?.modules?.includes('@pinia/nuxt')
return () => configs.value?.modules?.some(item => (item as string | Array<unknown>).includes('@pinia/nuxt'))
},
})
</script>
Expand Down

0 comments on commit ed599ab

Please sign in to comment.