fix formatting
All checks were successful
checks-impure / test (pull_request) Successful in 29s
checks / test (pull_request) Successful in 3m47s

This commit is contained in:
Arslan, Erdem
2024-01-25 14:32:11 +01:00
parent d978e413d5
commit 1d39ebcddc

View File

@@ -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) {