[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:
parent
85ee7f9af0
commit
7430ccf9a8
2 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
|
|
@ -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) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue