Fix left menu highlight (#9821)
Fix #9777 getAppPath doesn't return object/pet/ but actually object/pet so it needed a small adjustment (pet - 1 = PE is included in PEople)
This commit is contained in:
@ -52,7 +52,7 @@ export const NavigationDrawerItemForObjectMetadataItem = ({
|
||||
getAppPath(AppPath.RecordShowPage, {
|
||||
objectNameSingular: objectMetadataItem.nameSingular,
|
||||
objectRecordId: '',
|
||||
}).slice(0, -1),
|
||||
}) + '/',
|
||||
);
|
||||
|
||||
const shouldSubItemsBeDisplayed = isActive && objectMetadataViews.length > 1;
|
||||
|
||||
Reference in New Issue
Block a user