From 7430ccf9a81fd6d0b9410a237f0bcfa25a853bd3 Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Fri, 10 Jan 2025 14:18:24 +0530 Subject: [PATCH] [WEB-3089 | WEB-3098] chore: project store and empty state updated (#6373) * chore: empty state config updated * chore: project store updated --- web/core/constants/empty-state.ts | 2 +- web/core/store/project/project.store.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/core/constants/empty-state.ts b/web/core/constants/empty-state.ts index 9545b57c9..2ec4cb417 100644 --- a/web/core/constants/empty-state.ts +++ b/web/core/constants/empty-state.ts @@ -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, diff --git a/web/core/store/project/project.store.ts b/web/core/store/project/project.store.ts index e32c18954..119cb01b2 100644 --- a/web/core/store/project/project.store.ts +++ b/web/core/store/project/project.store.ts @@ -230,7 +230,7 @@ export class ProjectStore implements IProjectStore { }; setLastCollapsibleAction = (section: ProjectOverviewCollapsible) => { - this.openCollapsibleSection = [section]; + this.openCollapsibleSection = [...this.openCollapsibleSection, section]; }; toggleOpenCollapsibleSection = (section: ProjectOverviewCollapsible) => {