From 4325d930bced6fb22a9221422e886f3930b8483c 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, 1 Jun 2021 14:27:44 +0300 Subject: [PATCH] Refactor #1310 --- src/components/panelmenu/PanelMenu.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/panelmenu/PanelMenu.vue b/src/components/panelmenu/PanelMenu.vue index c460d1518..d87d2cd26 100755 --- a/src/components/panelmenu/PanelMenu.vue +++ b/src/components/panelmenu/PanelMenu.vue @@ -101,7 +101,7 @@ export default { return ['p-panelmenu-panel', item.class]; }, getPanelToggleIcon(item) { - const active = this.isActive(item) && this.activeItem === null ? true : item === this.activeItem; + const active = this.isActive(item); return ['p-panelmenu-icon pi', {'pi-chevron-right': !active,' pi-chevron-down': active}]; }, getPanelIcon(item) {