Skip to content
This repository has been archived by the owner on Nov 22, 2019. It is now read-only.

Commit

Permalink
TEIIDTOOLS-485
Browse files Browse the repository at this point in the history
 * changed html to use [hidden]="!isShowingCanvas"
 * moved initViews() call to the ngAfterViewInit() method to allow canvas creation before selection event
  • Loading branch information
blafond committed Sep 6, 2018
1 parent 6dabe58 commit 11a747b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Expand Up @@ -136,7 +136,9 @@ export class ViewEditorHeaderComponent implements OnInit, OnDestroy {
this.tableConfig = {
emptyStateConfig: this.emptyStateConfig
} as TableConfig;
}

public ngAfterViewInit(): void {
// init the available views
this.initViews();
}
Expand Down
Expand Up @@ -84,7 +84,7 @@
<!-- ========== Canvas and Properties ========== -->
<!-- =========================================== -->
<div id="view-editor-edit-container"
*ngIf="isShowingCanvas">
[hidden]="!isShowingCanvas">
<app-view-canvas></app-view-canvas>
</div>

Expand Down

0 comments on commit 11a747b

Please sign in to comment.