From 27d14cda376590ee0aa2798783caaee05becf482 Mon Sep 17 00:00:00 2001 From: elizachi Date: Thu, 5 Dec 2024 02:38:34 +0300 Subject: [PATCH] Fix Enter press --- codex-ui/src/vue/components/confirm/Confirm.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codex-ui/src/vue/components/confirm/Confirm.vue b/codex-ui/src/vue/components/confirm/Confirm.vue index 7dabeda1..501ccf5f 100644 --- a/codex-ui/src/vue/components/confirm/Confirm.vue +++ b/codex-ui/src/vue/components/confirm/Confirm.vue @@ -80,7 +80,7 @@ const props = withDefaults( */ const confirmOnEnter = (event: { key: string }) => { if (event.key === 'Enter') { - props.onConfirm; + props.onConfirm(); } };