aboutsummaryrefslogtreecommitdiff
path: root/src/tools/random-port-generator/random-port-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/random-port-generator/random-port-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/random-port-generator/random-port-generator.vue')
-rw-r--r--src/tools/random-port-generator/random-port-generator.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/random-port-generator/random-port-generator.vue b/src/tools/random-port-generator/random-port-generator.vue
index e4ac609..89ab217 100644
--- a/src/tools/random-port-generator/random-port-generator.vue
+++ b/src/tools/random-port-generator/random-port-generator.vue
@@ -14,7 +14,7 @@ const { copy } = useCopy({ source: port, text: 'Port copied to the clipboard' })
{{ port }}
</div>
<div flex justify-center gap-3>
- <c-button @click="copy">
+ <c-button @click="copy()">
Copy
</c-button>
<c-button @click="refreshPort">