fix: show-sub issue filter is true now by default (#1679)

This commit is contained in:
Dakshesh Jain 2023-07-26 17:52:03 +05:30 committed by GitHub
parent 3d7fe40035
commit 39274fd5fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,7 +83,7 @@ export const initialState: StateType = {
groupByProperty: null, groupByProperty: null,
orderBy: "-created_at", orderBy: "-created_at",
showEmptyGroups: true, showEmptyGroups: true,
showSubIssues: false, showSubIssues: true,
calendarDateRange: "", calendarDateRange: "",
filters: { filters: {
type: null, type: null,
@ -158,7 +158,7 @@ export const reducer: ReducerFunctionType = (state, action) => {
case "SET_SHOW_SUB_ISSUES": { case "SET_SHOW_SUB_ISSUES": {
const newState = { const newState = {
...state, ...state,
showSubIssues: payload?.showSubIssues || false, showSubIssues: payload?.showSubIssues || true,
}; };
return { return {