show sub category fixed

This commit is contained in:
mohadese namavar
2024-07-17 17:08:29 +04:30
parent 2b1c1348b4
commit f52cdde677
+1 -1
View File
@@ -27,7 +27,7 @@ const getProps = (item, i) => {
temp.iconPos = 'right'
temp.icon = 'isax ' + item.icon
// temp.disabled = menu[1] == item.sub
} else if (i === 1 && item.sub.length > 0) {
} else if (i === 1 && item.sub?.length > 0) {
temp.icon = 'isax isax-arrow-left-2'
// temp.disabled = menu[2] == item.sub
}