diff --git a/komga-webui/src/components/dialogs/ApiKeyAddDialog.vue b/komga-webui/src/components/dialogs/ApiKeyAddDialog.vue
index b59a93be3fc..e2d1a126280 100644
--- a/komga-webui/src/components/dialogs/ApiKeyAddDialog.vue
+++ b/komga-webui/src/components/dialogs/ApiKeyAddDialog.vue
@@ -36,7 +36,7 @@
mdi-check
{{ apiKey.key }}
-
+
{{ $t('common.close') }}
- {{ $t('dialog.add_api_key.button_confirm') }}
+ {{ $t('dialog.add_api_key.button_confirm') }}
@@ -109,6 +109,11 @@ export default Vue.extend({
comment: {required, validComment},
},
},
+ computed: {
+ isClipboardApiAvailable(): boolean {
+ return !!navigator.clipboard
+ },
+ },
methods: {
clear() {
this.apiKey = undefined