aboutsummaryrefslogtreecommitdiff
path: root/src/tools/basic-auth-generator/basic-auth-generator.vue
diff options
context:
space:
mode:
authorGravatar Corentin THOMASSET <corentin.thomasset74@gmail.com> 2023-08-10 00:07:44 +0200
committerGravatar GitHub <noreply@github.com> 2023-08-09 22:07:44 +0000
commit86e964a2743f5f1f058ecb62a18c7d3c93bff4ea (patch)
tree0ee09025ba63648dc1e08f65275a9f34bfadaf6f /src/tools/basic-auth-generator/basic-auth-generator.vue
parent7b6232a15128d3dfb6680e9cc97382eb3c198411 (diff)
downloadit-tools-86e964a2743f5f1f058ecb62a18c7d3c93bff4ea.tar.gz
it-tools-86e964a2743f5f1f058ecb62a18c7d3c93bff4ea.tar.zst
it-tools-86e964a2743f5f1f058ecb62a18c7d3c93bff4ea.zip
fix(copy): prevent shorthand copy if source is present in useCopy (#559)
* fix(copy): prevent shorthand copy if source is present in useCopy * refactor(copy): normalized copy usage
Diffstat (limited to 'src/tools/basic-auth-generator/basic-auth-generator.vue')
-rw-r--r--src/tools/basic-auth-generator/basic-auth-generator.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/basic-auth-generator/basic-auth-generator.vue b/src/tools/basic-auth-generator/basic-auth-generator.vue
index f96a8c7..a894612 100644
--- a/src/tools/basic-auth-generator/basic-auth-generator.vue
+++ b/src/tools/basic-auth-generator/basic-auth-generator.vue
@@ -30,7 +30,7 @@ const { copy } = useCopy({ source: header, text: 'Header copied to the clipboard
</n-statistic>
</c-card>
<div mt-5 flex justify-center>
- <c-button @click="copy">
+ <c-button @click="copy()">
Copy header
</c-button>
</div>