From 52d7d11235accc6032d05100a71c38cdca1f0a24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Tue, 17 Oct 2023 18:23:16 +0300 Subject: [PATCH] Refactor #4632 --- components/lib/menu/Menuitem.vue | 2 +- components/lib/panelmenu/PanelMenu.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/lib/menu/Menuitem.vue b/components/lib/menu/Menuitem.vue index ac66e3903..54f65f44b 100644 --- a/components/lib/menu/Menuitem.vue +++ b/components/lib/menu/Menuitem.vue @@ -61,7 +61,7 @@ export default { item: this.item, index: this.index, focused: this.isItemFocused(), - disabled: this.isItemDisabled(processedItem) + disabled: this.disabled() } }); }, diff --git a/components/lib/panelmenu/PanelMenu.vue b/components/lib/panelmenu/PanelMenu.vue index 342aa19a1..a79962a61 100644 --- a/components/lib/panelmenu/PanelMenu.vue +++ b/components/lib/panelmenu/PanelMenu.vue @@ -104,7 +104,7 @@ export default { index, active: this.isItemActive(item), focused: this.isItemFocused(item), - disabled: this.isItemDisabled(processedItem) + disabled: this.isItemDisabled(item) } }); },