forked from github/plane
chore: added sub_group_by in params and handled sub-group-by render error in display filter's
This commit is contained in:
parent
7c0c0da0f8
commit
c48cd3ee6e
@ -43,7 +43,7 @@ export const FilterSubGroupBy = observer(() => {
|
||||
{ISSUE_GROUP_BY_OPTIONS.map((subGroupBy) => {
|
||||
if (
|
||||
issueFilterStore.userDisplayFilters.group_by !== null &&
|
||||
issueFilterStore.userDisplayFilters.sub_group_by === issueFilterStore.userDisplayFilters.group_by
|
||||
subGroupBy.key === issueFilterStore.userDisplayFilters.group_by
|
||||
)
|
||||
return null;
|
||||
|
||||
|
@ -136,6 +136,7 @@ class IssueFilterStore implements IIssueFilterStore {
|
||||
target_date: this.userFilters?.target_date || undefined,
|
||||
group_by: this.userDisplayFilters?.group_by || "state",
|
||||
order_by: this.userDisplayFilters?.order_by || "-created_at",
|
||||
sub_group_by: this.userDisplayFilters?.sub_group_by || undefined,
|
||||
type: this.userDisplayFilters?.type || undefined,
|
||||
sub_issue: this.userDisplayFilters?.sub_issue || true,
|
||||
show_empty_groups: this.userDisplayFilters?.show_empty_groups || true,
|
||||
|
Loading…
Reference in New Issue
Block a user