Skip to content

Commit

Permalink
fix(edit): switch disabled on no walking distance (#1508)
Browse files Browse the repository at this point in the history
  • Loading branch information
emilielr authored May 21, 2024
1 parent 5228d28 commit a5fa34b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ function TileCard({ bid, tile }: { bid: TBoardID; tile: TTile }) {
tile.walkingDistance?.visible ?? false
}
disabled={
tile.walkingDistance?.visible ?? false
tile.walkingDistance ? false : true
}
>
Vis gåavstand
Expand Down

0 comments on commit a5fa34b

Please sign in to comment.