From 7892a563b7678a6d6df300d4cc23a70740a8ed3f Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com> Date: Thu, 23 Mar 2023 23:25:30 +0530 Subject: [PATCH] fix: minor ui fixes (#515) * fix: sidebar arror positioning * chore: show empty groups default value as true --- apps/app/components/workspace/help-section.tsx | 18 ++++++------------ apps/app/contexts/issue-view.context.tsx | 4 ++-- 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/apps/app/components/workspace/help-section.tsx b/apps/app/components/workspace/help-section.tsx index 53cc1e461..c315ae31b 100644 --- a/apps/app/components/workspace/help-section.tsx +++ b/apps/app/components/workspace/help-section.tsx @@ -57,7 +57,7 @@ export const WorkspaceHelpSection: FC = (props) => { return (
diff --git a/apps/app/contexts/issue-view.context.tsx b/apps/app/contexts/issue-view.context.tsx index c44141bdd..fd3341160 100644 --- a/apps/app/contexts/issue-view.context.tsx +++ b/apps/app/contexts/issue-view.context.tsx @@ -60,7 +60,7 @@ export const initialState: StateType = { issueView: "list", groupByProperty: null, orderBy: "created_at", - showEmptyGroups: false, + showEmptyGroups: true, filters: { type: null, priority: null, @@ -122,7 +122,7 @@ export const reducer: ReducerFunctionType = (state, action) => { case "SET_SHOW_EMPTY_STATES": { const newState = { ...state, - showEmptyGroups: payload?.showEmptyGroups || false, + showEmptyGroups: payload?.showEmptyGroups || true, }; return {