mirror of
https://github.com/makeplane/plane.git
synced 2026-04-28 03:49:45 -05:00
[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:
committed by
GitHub
parent
85ee7f9af0
commit
7430ccf9a8
@@ -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,
|
||||
|
||||
@@ -230,7 +230,7 @@ export class ProjectStore implements IProjectStore {
|
||||
};
|
||||
|
||||
setLastCollapsibleAction = (section: ProjectOverviewCollapsible) => {
|
||||
this.openCollapsibleSection = [section];
|
||||
this.openCollapsibleSection = [...this.openCollapsibleSection, section];
|
||||
};
|
||||
|
||||
toggleOpenCollapsibleSection = (section: ProjectOverviewCollapsible) => {
|
||||
|
||||
Reference in New Issue
Block a user