Skip to content

Commit

Permalink
fix problem with not set observer yet
Browse files Browse the repository at this point in the history
  • Loading branch information
tsubik committed Dec 1, 2023
1 parent 97ed2bb commit f1151f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/pages/observations/observation-detail.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ <h3>{{'Upload report' | translate}}</h3>
<!-- Current monitor -->
<div class="form-group">
<label>{{'Monitor' | translate}}</label>
<input type="text" class="form-control" [value]="currentContextObserver.name" disabled />
<input type="text" class="form-control" [value]="currentContextObserver && currentContextObserver.name" disabled />
</div>

<!-- 4. Additional monitors -->
Expand Down Expand Up @@ -783,7 +783,7 @@ <h3>{{'Upload report' | translate}}</h3>
<!-- Current monitor -->
<div class="form-group">
<label>{{'Monitor' | translate}}</label>
<input type="text" class="form-control" [value]="currentContextObserver.name" disabled />
<input type="text" class="form-control" [value]="currentContextObserver && currentContextObserver.name" disabled />
</div>

<!-- 5. Additional monitors -->
Expand Down

0 comments on commit f1151f9

Please sign in to comment.