diff options
author | 2023-08-10 00:07:44 +0200 | |
---|---|---|
committer | 2023-08-09 22:07:44 +0000 | |
commit | 86e964a2743f5f1f058ecb62a18c7d3c93bff4ea (patch) | |
tree | 0ee09025ba63648dc1e08f65275a9f34bfadaf6f /src/tools/html-entities/html-entities.vue | |
parent | 7b6232a15128d3dfb6680e9cc97382eb3c198411 (diff) | |
download | it-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/html-entities/html-entities.vue')
-rw-r--r-- | src/tools/html-entities/html-entities.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/html-entities/html-entities.vue b/src/tools/html-entities/html-entities.vue index a0f6102..1a2192e 100644 --- a/src/tools/html-entities/html-entities.vue +++ b/src/tools/html-entities/html-entities.vue @@ -37,7 +37,7 @@ const { copy: copyUnescaped } = useCopy({ source: unescapeOutput }); </n-form-item> <div flex justify-center> - <c-button @click="copyEscaped"> + <c-button @click="copyEscaped()"> Copy </c-button> </div> @@ -66,7 +66,7 @@ const { copy: copyUnescaped } = useCopy({ source: unescapeOutput }); </n-form-item> <div flex justify-center> - <c-button @click="copyUnescaped"> + <c-button @click="copyUnescaped()"> Copy </c-button> </div> |