web: fix lint (#10524)
This commit is contained in:
committed by
GitHub
parent
62c882cb0e
commit
409934196c
@ -151,7 +151,7 @@ export class AkAdminSidebar extends WithCapabilitiesConfig(AKElement) {
|
||||
const renderOneSidebarItem: SidebarRenderer = ([path, label, attributes, children]) => {
|
||||
const properties = Array.isArray(attributes)
|
||||
? { ".activeWhen": attributes }
|
||||
: attributes ?? {};
|
||||
: (attributes ?? {});
|
||||
if (path) {
|
||||
properties["path"] = path;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user