This commit is contained in:
rizrmd 2024-05-19 19:08:44 +07:00
parent 91a770a2a0
commit f283f06ddb
9 changed files with 9 additions and 7 deletions

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -220,8 +220,10 @@ export const devItem = (
if (item.childs) {
return item.childs.map((e) => {
const mitem = metas[e.id].mitem;
if (mitem) return devItem(metas, mitem, page_id);
if (e) {
const mitem = metas[e.id]?.mitem;
if (mitem) return devItem(metas, mitem, page_id);
}
});
}