chore: fix authorization for new projects in the peek overview (#3439)
* chore: fix authorization for new projects in the peek overview * fix: prjects empty state authorization * fix: peek overview auth
This commit is contained in:
parent
e36b7a5ab9
commit
0531dc3308
3 changed files with 5 additions and 4 deletions
|
|
@ -317,6 +317,7 @@ export class ProjectStore implements IProjectStore {
|
|||
const response = await this.projectService.createProject(workspaceSlug, data);
|
||||
runInAction(() => {
|
||||
set(this.projectMap, [response.id], response);
|
||||
set(this.rootStore.user.membership.workspaceProjectsRole, [workspaceSlug, response.id], response.member_role);
|
||||
});
|
||||
return response;
|
||||
} catch (error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue