Skip to content

Commit

Permalink
Fix download tooltip
Browse files Browse the repository at this point in the history
Reversed logic for tooltip on download panel draw bounds button.
  • Loading branch information
stuartwoodman authored Nov 13, 2024
1 parent 119cdb4 commit 8d5cb92
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ <h5><span class="badge badge-secondary d-inline ml-5 line-height-1-8">South: {{
<!-- Draw bounds/polygon -->
<div class="d-inline-block">
<button *ngIf="!bbox" type="button" class="btn btn-primary btn-xs" (click)="drawBounds()"
[title]="irisDownloadListOption?.selectedserviceType === 'Dataselect' ? 'Draw bounding box' : 'Bounding box disabled for Dataselect'"
[title]="irisDownloadListOption?.selectedserviceType === 'Dataselect' ? 'Bounding box disabled for Dataselect' : 'Draw bounding box'"
[disabled]="downloadStarted || download4pStarted || download4PolygonKMLStarted || drawBoundsStarted || drawPolygonStarted || irisDownloadListOption?.selectedserviceType === 'Dataselect'">
<i class="fa fa-edit"></i>&nbsp;Draw Bounds
</button>
Expand Down

0 comments on commit 8d5cb92

Please sign in to comment.