generated from Luis/nextjs-python-web-template
fix formatting
This commit is contained in:
@@ -93,13 +93,13 @@ export function Sidebar(props: SidebarProps) {
|
|||||||
if (entityData) {
|
if (entityData) {
|
||||||
menuEntityEntries = Array.isArray(entityData.data)
|
menuEntityEntries = Array.isArray(entityData.data)
|
||||||
? entityData.data
|
? entityData.data
|
||||||
.filter((entity) => entity.name !== "AP" && entity.name !== "DLG")
|
.filter((entity) => entity.name !== "AP" && entity.name !== "DLG")
|
||||||
.map((entity) => ({
|
.map((entity) => ({
|
||||||
icon: <PersonIcon />,
|
icon: <PersonIcon />,
|
||||||
label: entity.name,
|
label: entity.name,
|
||||||
to: `/client/${entity.name}`,
|
to: `/client/${entity.name}`,
|
||||||
disabled: false,
|
disabled: false,
|
||||||
}))
|
}))
|
||||||
: [];
|
: [];
|
||||||
}
|
}
|
||||||
if (isSmallerScreen) {
|
if (isSmallerScreen) {
|
||||||
|
|||||||
Reference in New Issue
Block a user