mirror of
https://github.com/hcengineering/platform.git
synced 2025-01-22 19:38:17 +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
|
||||
*.pid.lock
|
||||
|
||||
# VS Code settings
|
||||
.vscode/settings.json
|
||||
|
||||
# Directory for instrumented libs generated by jscoverage/JSCover
|
||||
lib-cov
|
||||
|
||||
|
@ -146,7 +146,7 @@
|
||||
statusStates: TypeState[],
|
||||
priorityStates: TypeState[]
|
||||
) {
|
||||
if (!showEmptyGroups) return states
|
||||
if (!showEmptyGroups && states.length > 0) return states
|
||||
if (groupBy === IssuesGrouping.Status) return statusStates
|
||||
if (groupBy === IssuesGrouping.Priority) return priorityStates
|
||||
return []
|
||||
|
Loading…
Reference in New Issue
Block a user