Fix city/state labels not showing

This commit is contained in:
Max Goodhart
2025-06-14 20:08:07 +00:00
parent ca4f14d21c
commit a617074c2e
2 changed files with 11 additions and 1 deletions

View File

@@ -31,6 +31,8 @@ export interface StreamData extends ContentDisplayOptions {
source?: string
notes?: string
status?: string
city?: string
state?: string
_id: string
_dataSource: string
}

View File

@@ -77,7 +77,15 @@ function Overlay({
isListening={isListening}
>
<StreamIcon url={content.url} />
<span>{data.label}</span>
<span>
{data.label ? (
data.label
) : (
<>
{data.source} &ndash; {data.city} {data.state}
</>
)}
</span>
{(isListening || isBackgroundListening) && <FaVolumeUp />}
</StreamTitle>
)}