[WEB-5668] fix: add fetchWorkspaceLevelProjectEntities method and update project-related fetch keys (#8347)

This commit is contained in:
Prateek Shourya 2025-12-16 13:25:44 +05:30 committed by GitHub
parent 22339b9786
commit fc1c7fe235
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 61 additions and 36 deletions

View file

@ -21,4 +21,8 @@ export class UserPermissionStore extends BaseUserPermissionStore implements IUse
(workspaceSlug: string, projectId?: string): EUserPermissions | undefined =>
this.getProjectRole(workspaceSlug, projectId)
);
fetchWorkspaceLevelProjectEntities = (workspaceSlug: string, projectId: string): void => {
void this.store.projectRoot.project.fetchProjectDetails(workspaceSlug, projectId);
};
}