mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-22 08:20:39 +00:00
fix loading empy tracker kanban (#2244)
Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com>
This commit is contained in:
parent
b2223035a9
commit
1f2ab841b1
3
.gitignore
vendored
3
.gitignore
vendored
@ -14,6 +14,9 @@ yarn-error.log*
|
|||||||
*.seed
|
*.seed
|
||||||
*.pid.lock
|
*.pid.lock
|
||||||
|
|
||||||
|
# VS Code settings
|
||||||
|
.vscode/settings.json
|
||||||
|
|
||||||
# Directory for instrumented libs generated by jscoverage/JSCover
|
# Directory for instrumented libs generated by jscoverage/JSCover
|
||||||
lib-cov
|
lib-cov
|
||||||
|
|
||||||
|
@ -146,7 +146,7 @@
|
|||||||
statusStates: TypeState[],
|
statusStates: TypeState[],
|
||||||
priorityStates: TypeState[]
|
priorityStates: TypeState[]
|
||||||
) {
|
) {
|
||||||
if (!showEmptyGroups) return states
|
if (!showEmptyGroups && states.length > 0) return states
|
||||||
if (groupBy === IssuesGrouping.Status) return statusStates
|
if (groupBy === IssuesGrouping.Status) return statusStates
|
||||||
if (groupBy === IssuesGrouping.Priority) return priorityStates
|
if (groupBy === IssuesGrouping.Priority) return priorityStates
|
||||||
return []
|
return []
|
||||||
|
Loading…
Reference in New Issue
Block a user