[WEB-1445] fix: issue creation on sub groups when cycle/ module grouping is applied. (#4636)

This commit is contained in:
Prateek Shourya 2024-05-29 18:22:08 +05:30 committed by GitHub
parent 10ef4e657f
commit 061a447734
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -169,9 +169,9 @@ export const KanbanGroup = observer((props: IKanbanGroup) => {
preloadedData = { ...preloadedData, state_id: subGroupValue };
} else if (subGroupByKey === "priority") {
preloadedData = { ...preloadedData, priority: subGroupValue };
} else if (groupByKey === "cycle") {
} else if (subGroupByKey === "cycle") {
preloadedData = { ...preloadedData, cycle_id: subGroupValue };
} else if (groupByKey === "module") {
} else if (subGroupByKey === "module") {
preloadedData = { ...preloadedData, module_ids: [subGroupValue] };
} else if (subGroupByKey === "labels" && subGroupValue != "None") {
preloadedData = { ...preloadedData, label_ids: [subGroupValue] };