From 0b38cecc74f73262b38c265b4474c03c78b9593f Mon Sep 17 00:00:00 2001 From: ThatGravyBoat Date: Fri, 10 Jul 2026 23:52:05 -0230 Subject: [PATCH] fix: keybind structuredClone only working the first time (#6691) --- .../src/components/ui/moderation/checklist/ChecklistKeybind.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/frontend/src/components/ui/moderation/checklist/ChecklistKeybind.vue b/apps/frontend/src/components/ui/moderation/checklist/ChecklistKeybind.vue index be2e13e1d0..5ad60c0fa4 100644 --- a/apps/frontend/src/components/ui/moderation/checklist/ChecklistKeybind.vue +++ b/apps/frontend/src/components/ui/moderation/checklist/ChecklistKeybind.vue @@ -25,7 +25,7 @@ const props = defineProps<{ }>() const keybinding = useTemplateRef('keybinding') -const definitions = ref(structuredClone(props.definitions)) +const definitions = ref(JSON.parse(JSON.stringify(props.definitions))) const editing = ref(-1) function startEditing(index: number) {