TSK-1093: Fix Application doneState showing (#2927)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2023-04-10 13:55:22 +06:00
committed by GitHub
parent d7f9615a8e
commit d353c0e42d
22 changed files with 149 additions and 56 deletions
@@ -193,7 +193,15 @@
const categoryFunc = viewOption as CategoryOption
if (viewOptions[viewOption.key] ?? viewOption.defaultValue) {
const categoryAction = await getResource(categoryFunc.action)
const res = await categoryAction(_class, space, groupByKey, update, queryId, $statusStore, viewlet.descriptor)
const res = await categoryAction(
_class,
space !== undefined ? { space } : {},
groupByKey,
update,
queryId,
$statusStore,
viewlet.descriptor
)
if (res !== undefined) {
categories = res
break