Skip to content

Commit

Permalink
fix simplify path menu button wrong disablement
Browse files Browse the repository at this point in the history
  • Loading branch information
kissenger committed Mar 23, 2021
1 parent 7cf35a8 commit 5b06567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion angular/src/app/main/menu-bar/menu-bar.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
Reverse route
</div>

<div [ngClass]="!position ? 'ts-menu-item-disabled' : ''" class="ts-menu-item p-1 border-top border-bottom" (click)="map.simplify()">
<div [ngClass]="!isData ? 'ts-menu-item-disabled' : ''" class="ts-menu-item p-1 border-top border-bottom" (click)="map.simplify()">
Simplify route
</div>

Expand Down

0 comments on commit 5b06567

Please sign in to comment.