mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 13:39:24 +08:00
fix: cannot read properties of null (reading 'sort')
This commit is contained in:
parent
30cca1d79c
commit
1be324f524
@ -96,6 +96,6 @@ export class ACLSettingsUI {
|
|||||||
}
|
}
|
||||||
return tab;
|
return tab;
|
||||||
})
|
})
|
||||||
.sort((a, b) => (a.sort ?? 100) - (b.sort ?? 100));
|
.sort((a, b) => (a?.sort ?? 100) - (b?.sort ?? 100));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user