fix(core-app): CB-1988 node id filtering

This commit is contained in:
Wroud
2022-07-03 14:12:43 +03:00
parent 9fa31cb33f
commit cb51bb32c9
@@ -194,7 +194,7 @@ export class NavTreeResource extends CachedMapResource<string, string[]> {
const parents = Array.from(new Set(
ResourceKeyUtils
.mapArray(key, key => this.navNodeInfoResource.get(key)?.parentId)
.filter<string>(Boolean as any)
.filter<string>(((id: string | undefined) => id !== undefined) as any)
));
await this.performUpdate(resourceKeyList(parents), [], async () => {