chore: implemented assigned profiles issues and filters and updated workflow in list layout (#2462)
This commit is contained in:
parent
4bd73630d1
commit
123634f5e8
45 changed files with 2750 additions and 1120 deletions
|
|
@ -31,6 +31,7 @@ export interface IProjectStore {
|
|||
|
||||
// computed
|
||||
searchedProjects: IProject[];
|
||||
workspaceProjects: IProject[];
|
||||
projectStatesByGroups: IStateResponse | null;
|
||||
projectStates: IState[] | null;
|
||||
projectLabels: IIssueLabels[] | null;
|
||||
|
|
@ -119,6 +120,7 @@ export class ProjectStore implements IProjectStore {
|
|||
|
||||
// computed
|
||||
searchedProjects: computed,
|
||||
workspaceProjects: computed,
|
||||
projectStatesByGroups: computed,
|
||||
projectStates: computed,
|
||||
projectLabels: computed,
|
||||
|
|
@ -176,6 +178,11 @@ export class ProjectStore implements IProjectStore {
|
|||
);
|
||||
}
|
||||
|
||||
get workspaceProjects() {
|
||||
if (!this.rootStore.workspace.workspaceSlug) return [];
|
||||
return this.projects?.[this.rootStore.workspace.workspaceSlug];
|
||||
}
|
||||
|
||||
get joinedProjects() {
|
||||
if (!this.rootStore.workspace.workspaceSlug) return [];
|
||||
return this.projects?.[this.rootStore.workspace.workspaceSlug]?.filter((p) => p.is_member);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue