Fix beacon Minor 0 not displaying in service points page

b.Minor is 0 for the first beacon which is falsy in JS.
Changed to null check so Minor: 0 displays correctly.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
John Mizerek 2026-02-24 12:47:20 -08:00
parent 57ef40f737
commit 194eb4d205

View file

@ -1710,7 +1710,7 @@ const Portal = {
}
container.innerHTML = this.beacons.map(b => {
const minorInfo = b.Minor ? ` (Minor: ${b.Minor})` : '';
const minorInfo = b.Minor != null ? ` (Minor: ${b.Minor})` : '';
return `
<div class="list-group-item ${b.IsActive ? '' : 'inactive'}">
<div class="item-info">