fix test dependencies, move components in two tabs

This commit is contained in:
FrancescoMolinaro
2024-01-05 17:39:00 +01:00
parent af3bfee74e
commit 7185c5548a
15 changed files with 128 additions and 23 deletions

View File

@@ -148,7 +148,7 @@ export class TabulatableObjectsLoaderComponent implements OnInit, OnChanges, OnD
private instantiateComponent(objects: PaginatedList<ListableObject>, changes?: SimpleChanges): void {
// objects need to have same render type so we access just the first in the page
const component = this.getComponent(objects.page[0]?.getRenderTypes(), this.viewMode, this.context);
const component = this.getComponent(objects?.page[0]?.getRenderTypes(), this.viewMode, this.context);
const viewContainerRef = this.tabulatableObjectsDirective.viewContainerRef;
viewContainerRef.clear();