Skip to content

Commit

Permalink
fix: undefined/null issue in marker
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtIeSocks committed Sep 4, 2024
1 parent 7bd4c50 commit 9f7532f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/features/station/stationMarker.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ export function stationMarker({
"
/>
${
is_battle_available &&
/* html */ `
is_battle_available
? /* html */ `
<img
src="${battleIcon}"
alt="${battleIcon}"
Expand All @@ -84,6 +84,7 @@ export function stationMarker({
"
/>
`
: ''
}
</div>
`,
Expand Down

0 comments on commit 9f7532f

Please # to comment.