From ec4f9768a86191bd1117dc767426e77928f594f0 Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Sat, 31 Aug 2024 05:13:00 +0200 Subject: [PATCH] Removed creation date from API key removal confirmation dialog. --- pages/auth/keys/+Page.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/auth/keys/+Page.vue b/pages/auth/keys/+Page.vue index 10f0b23..f025d5a 100644 --- a/pages/auth/keys/+Page.vue +++ b/pages/auth/keys/+Page.vue @@ -117,7 +117,7 @@ async function createKey() { } async function removeKey(key) { - if (confirm(`Are you sure you want to remove API key '${key.identifier}' (${format(key.createdAt, 'yyyy-MM-dd hh:mm')})? It can not be restored.`)) { // eslint-disable-line no-restricted-globals, no-alert + if (confirm(`Are you sure you want to remove API key '${key.identifier}'? It can not be restored.`)) { // eslint-disable-line no-restricted-globals, no-alert newKey.value = null; await del(`/me/keys/${key.identifier}`);