mirror of
https://github.com/hcengineering/platform.git
synced 2025-06-06 15:57:05 +00:00
Fix view options (#2643)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
parent
786e51c6e6
commit
7d8b6cc222
@ -13,10 +13,10 @@
|
|||||||
|
|
||||||
const dispatch = createEventDispatcher()
|
const dispatch = createEventDispatcher()
|
||||||
|
|
||||||
const groups = (viewOptions.groupBy =
|
const groups =
|
||||||
viewOptions.groupBy[viewOptions.groupBy.length - 1] === noCategory
|
viewOptions.groupBy[viewOptions.groupBy.length - 1] === noCategory
|
||||||
? viewOptions.groupBy
|
? [...viewOptions.groupBy]
|
||||||
: [...viewOptions.groupBy, noCategory])
|
: [...viewOptions.groupBy, noCategory]
|
||||||
|
|
||||||
const client = getClient()
|
const client = getClient()
|
||||||
const hierarchy = client.getHierarchy()
|
const hierarchy = client.getHierarchy()
|
||||||
|
Loading…
Reference in New Issue
Block a user