fix subGroupKey generation when subGroupId is null

This commit is contained in:
rahulramesha 2024-03-26 16:52:55 +05:30
parent 236f0c544a
commit 0af1f9e1f0

View File

@ -1083,7 +1083,7 @@ export class BaseIssuesStore implements IBaseIssuesStore {
}
getGroupKey(groupId?: string, subGroupId?: string) {
if (groupId && subGroupId) return `${groupId}_${subGroupId}`;
if (groupId && subGroupId && subGroupId !== "null") return `${groupId}_${subGroupId}`;
if (groupId) return groupId;