mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-27 01:13:27 +03:00
List_category_limit_fix (#2560)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
parent
3ba2958b20
commit
375513e75b
@ -62,8 +62,8 @@
|
||||
const autoFoldLimit = 20
|
||||
const defaultLimit = 20
|
||||
const singleCategoryLimit = 200
|
||||
$: initialLimit = singleCat ? singleCategoryLimit : defaultLimit
|
||||
$: limit = !lastLevel ? items.length : initialLimit
|
||||
$: initialLimit = !lastLevel ? items.length : singleCat ? singleCategoryLimit : defaultLimit
|
||||
$: limit = initialLimit
|
||||
|
||||
let collapsed = true
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user