[WEB-4632] chore: pinned your work to the sidebar #7537

This commit is contained in:
Akshita Goyal 2025-08-04 20:06:03 +05:30 committed by GitHub
parent 7ead606798
commit dffe3a844f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 8 deletions

View file

@ -38,7 +38,7 @@ export const SidebarItem: FC<TSidebarItemProps> = observer((props) => {
if (isExtendedSidebarOpened) toggleExtendedSidebar(false);
};
const staticItems = ["home", "inbox", "pi-chat", "projects"];
const staticItems = ["home", "inbox", "pi-chat", "projects", "your_work"];
if (!allowPermissions(item.access as any, EUserPermissionsLevel.WORKSPACE, workspaceSlug.toString())) {
return null;