From 46a810284e2cf35b0ff060b895fc66630a800752 Mon Sep 17 00:00:00 2001 From: david-loe <56305409+david-loe@users.noreply.github.com> Date: Thu, 21 Nov 2024 10:11:20 +0100 Subject: [PATCH] no repeat --- .../src/components/settings/elements/ConnectionSettingsForm.vue | 2 +- .../src/components/settings/elements/DisplaySettingsForm.vue | 2 +- frontend/src/components/settings/elements/SettingsForm.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/settings/elements/ConnectionSettingsForm.vue b/frontend/src/components/settings/elements/ConnectionSettingsForm.vue index 85aaf41..eb70a60 100644 --- a/frontend/src/components/settings/elements/ConnectionSettingsForm.vue +++ b/frontend/src/components/settings/elements/ConnectionSettingsForm.vue @@ -4,7 +4,7 @@ ref="form$" :endpoint="false" @submit="(form$: any) => postConnectionSettings(form$.data)" - @keydown.ctrl.s.prevent="() => postConnectionSettings(($refs.form$ as any).data)"> + @keydown.ctrl.s.prevent="(e: KeyboardEvent) => {e.repeat ? null: postConnectionSettings(($refs.form$ as any).data)}">