Merge branch 'main' into case-converter/more-cases

This commit is contained in:
Corentin THOMASSET 2023-08-09 23:33:41 +02:00 committed by GitHub
commit a7019f8992
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ export function useCopy({ source, text = 'Copied to the clipboard' }: { source?:
return {
async copy(content?: string, { notificationMessage }: { notificationMessage?: string } = {}) {
await copy();
await copy(content);
message.success(notificationMessage ?? text);
},
};

View file

@ -103,7 +103,7 @@ const tools = computed<ToolCategory[]>(() => [
Home
</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 />
</c-button>