[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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -195,7 +195,7 @@ const emptyStateDetails = {
text: "Create an initiative", text: "Create an initiative",
}, },
accessType: "workspace", accessType: "workspace",
access: [EUserPermissions.ADMIN], access: [EUserPermissions.ADMIN, EUserPermissions.MEMBER],
}, },
[EmptyStateType.WORKSPACE_INITIATIVES_EMPTY_SEARCH]: { [EmptyStateType.WORKSPACE_INITIATIVES_EMPTY_SEARCH]: {
key: EmptyStateType.WORKSPACE_INITIATIVES_EMPTY_SEARCH, key: EmptyStateType.WORKSPACE_INITIATIVES_EMPTY_SEARCH,

View file

@ -230,7 +230,7 @@ export class ProjectStore implements IProjectStore {
}; };
setLastCollapsibleAction = (section: ProjectOverviewCollapsible) => { setLastCollapsibleAction = (section: ProjectOverviewCollapsible) => {
this.openCollapsibleSection = [section]; this.openCollapsibleSection = [...this.openCollapsibleSection, section];
}; };
toggleOpenCollapsibleSection = (section: ProjectOverviewCollapsible) => { toggleOpenCollapsibleSection = (section: ProjectOverviewCollapsible) => {