chore: subscribed by me tab on my issues page (#1800)
* chore: add subscribed by me tab in my issues * chore: update tab titles * fix: build error
This commit is contained in:
parent
981acc81c1
commit
88e5a05253
9 changed files with 38 additions and 17 deletions
|
|
@ -92,6 +92,7 @@ export const initialState: StateType = {
|
|||
labels: null,
|
||||
state: null,
|
||||
state_group: null,
|
||||
subscriber: null,
|
||||
created_by: null,
|
||||
target_date: null,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ type IssueViewProps = {
|
|||
orderBy: TIssueOrderByOptions;
|
||||
showEmptyGroups: boolean;
|
||||
showSubIssues: boolean;
|
||||
filters: IIssueFilterOptions & { subscriber: string | null };
|
||||
filters: IIssueFilterOptions;
|
||||
properties: Properties;
|
||||
};
|
||||
|
||||
|
|
@ -41,7 +41,7 @@ type ContextType = IssueViewProps & {
|
|||
setOrderBy: (property: TIssueOrderByOptions) => void;
|
||||
setShowEmptyGroups: (property: boolean) => void;
|
||||
setShowSubIssues: (value: boolean) => void;
|
||||
setFilters: (filters: Partial<IIssueFilterOptions & { subscriber: string | null }>) => void;
|
||||
setFilters: (filters: Partial<IIssueFilterOptions>) => void;
|
||||
setProperties: (key: keyof Properties) => void;
|
||||
setIssueView: (property: TIssueViewOptions) => void;
|
||||
};
|
||||
|
|
@ -52,7 +52,7 @@ type StateType = {
|
|||
orderBy: TIssueOrderByOptions;
|
||||
showEmptyGroups: boolean;
|
||||
showSubIssues: boolean;
|
||||
filters: IIssueFilterOptions & { subscriber: string | null };
|
||||
filters: IIssueFilterOptions;
|
||||
properties: Properties;
|
||||
};
|
||||
type ReducerFunctionType = (state: StateType, action: ReducerActionType) => StateType;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue