From 2893fe11a34f0b371e9fc8e5b5b7764859715fe8 Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Wed, 24 Jan 2024 14:56:02 +0100 Subject: [PATCH] Fix Shift-Enter regressions --- web/components/page_navigator.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/components/page_navigator.tsx b/web/components/page_navigator.tsx index 97143de0..4e2fa768 100644 --- a/web/components/page_navigator.tsx +++ b/web/components/page_navigator.tsx @@ -130,7 +130,7 @@ export function PageNavigator({ newHint={`Create ${mode}`} completePrefix={completePrefix} onSelect={(opt) => { - onNavigate(opt?.ref); + onNavigate(opt?.ref || opt?.name); }} /> );