aboutsummaryrefslogtreecommitdiff
path: root/src/tools/url-encoder
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/url-encoder
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/url-encoder')
-rw-r--r--src/tools/url-encoder/url-encoder.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/url-encoder/url-encoder.vue b/src/tools/url-encoder/url-encoder.vue
index 324693b..c43f819 100644
--- a/src/tools/url-encoder/url-encoder.vue
+++ b/src/tools/url-encoder/url-encoder.vue
@@ -60,7 +60,7 @@ const { copy: copyDecoded } = useCopy({ source: decodeOutput, text: 'Decoded str
/>
<div flex justify-center>
- <c-button @click="copyEncoded">
+ <c-button @click="copyEncoded()">
Copy
</c-button>
</div>
@@ -89,7 +89,7 @@ const { copy: copyDecoded } = useCopy({ source: decodeOutput, text: 'Decoded str
/>
<div flex justify-center>
- <c-button @click="copyDecoded">
+ <c-button @click="copyDecoded()">
Copy
</c-button>
</div>