[WEB-3089 | WEB-3098] chore: project store and empty state updated (#6373)

* chore: empty state config updated

* chore: project store updated
This commit is contained in:
Anmol Singh Bhatia
2025-01-10 14:18:24 +05:30
committed by GitHub
parent 85ee7f9af0
commit 7430ccf9a8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -195,7 +195,7 @@ const emptyStateDetails = {
text: "Create an initiative",
},
accessType: "workspace",
access: [EUserPermissions.ADMIN],
access: [EUserPermissions.ADMIN, EUserPermissions.MEMBER],
},
[EmptyStateType.WORKSPACE_INITIATIVES_EMPTY_SEARCH]: {
key: EmptyStateType.WORKSPACE_INITIATIVES_EMPTY_SEARCH,
+1 -1
View File
@@ -230,7 +230,7 @@ export class ProjectStore implements IProjectStore {
};
setLastCollapsibleAction = (section: ProjectOverviewCollapsible) => {
this.openCollapsibleSection = [section];
this.openCollapsibleSection = [...this.openCollapsibleSection, section];
};
toggleOpenCollapsibleSection = (section: ProjectOverviewCollapsible) => {