Skip to content

Commit

Permalink
Merge pull request #15 from introlab/dev
Browse files Browse the repository at this point in the history
Main merge for 1.0.3 release, v2
  • Loading branch information
SBriere committed Jun 29, 2022
2 parents 40a8482 + 8f7f407 commit ab43058
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "opentera-webportal",
"version": "1.0.1",
"version": "1.0.3",
"scripts": {
"ng": "ng",
"start": "ng serve",
Expand Down
5 changes: 5 additions & 0 deletions Frontend/src/app/components/frame/frame.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export class FrameComponent implements OnInit, OnDestroy {
outsideSource = '';
private subscription: Subscription;
frameLoading = false;
private firstLoad = true;

constructor(private selectedSourceService: SelectedSourceService) {
}
Expand All @@ -31,6 +32,10 @@ export class FrameComponent implements OnInit, OnDestroy {
}

iframeLoadedCallBack(): void {
if (this.firstLoad){
this.firstLoad = false;
return;
}
console.log('Frame loaded!');
this.frameLoading = false;
}
Expand Down

0 comments on commit ab43058

Please sign in to comment.