fix(c-lib): hide component library shortcut link in non-dev (#557)

This commit is contained in:
Corentin THOMASSET 2023-08-09 22:58:15 +02:00 committed by GitHub
parent e5d0ba7073
commit 56d74d07a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -103,7 +103,7 @@ const tools = computed<ToolCategory[]>(() => [
Home Home
</n-tooltip> </n-tooltip>
<c-button to="/c-lib" circle variant="text" aria-label="UI Lib"> <c-button v-if="config.app.env === 'development'" to="/c-lib" circle variant="text" aria-label="UI Lib">
<icon-mdi:brush-variant text-20px /> <icon-mdi:brush-variant text-20px />
</c-button> </c-button>