Watchlist

{matchingSpots} matching spots

{#if displayList.length === 0}

{showOnlyActive ? 'No active spots for watchlist callsigns' : 'No callsigns in watchlist'}

{showOnlyActive ? 'Click "Active Only" to see all entries' : 'Add callsigns or prefixes to monitor'}

{:else} {#each displayList as callsign} {@const matchingSpots = getMatchingSpotsForCallsign(callsign)} {@const count = matchingSpots.length} {@const neededCount = matchingSpots.filter(s => !s.workedBandMode).length} {@const borderClass = neededCount > 0 ? 'border-orange-500/30' : 'border-slate-700/50'}
{callsign}
{#if count > 0} {count} active spot{count !== 1 ? 's' : ''} {#if neededCount > 0} {neededCount} needed {:else} All worked {/if} {:else} No active spots {/if}
{#if count > 0}
{#each matchingSpots.slice(0, 10) as spot} {/each}
{:else}
No active spots
{/if}
{/each} {/if}