From 3cc37ba97919681ecac08f6b661a0d01ca4014ab Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Fri, 23 Feb 2024 15:34:18 +0300 Subject: [PATCH] Refactor #5316 --- components/lib/menubar/Menubar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/menubar/Menubar.vue b/components/lib/menubar/Menubar.vue index f796a896c..67e845a25 100755 --- a/components/lib/menubar/Menubar.vue +++ b/components/lib/menubar/Menubar.vue @@ -421,7 +421,7 @@ export default { const _focusedItemInfo = this.focusedItemInfo; this.hide(event, false); - this.focusedItemInfo = { index: Number(_focusedItemInfo.parentKey[0]), level: 0, parentKey: '' }; + this.focusedItemInfo = { index: Number(_focusedItemInfo.parentKey.split('_')[0]), level: 0, parentKey: '' }; } event.preventDefault();