Merge pull request #8135 from MBR-0001/issue-8108-cast-devices-fix

Fix cast menu being empty when no targets available
This commit is contained in:
Bill Thornton
2026-07-01 16:29:03 -04:00
committed by GitHub
2 changed files with 9 additions and 0 deletions
@@ -96,6 +96,14 @@ const RemotePlayMenu: FC<RemotePlayMenuProps> = ({
/>
</MenuItem>
))}
{isChromecastPluginLoaded && playbackTargets.length === 0 && (
<MenuItem disabled>
<ListItemText>
{globalize.translate('NoCastTargets')}
</ListItemText>
</MenuItem>
)}
</Menu>
);
};
+1
View File
@@ -1281,6 +1281,7 @@
"NextTrack": "Skip to next",
"NextUp": "Next Up",
"No": "No",
"NoCastTargets": "No cast targets available",
"NoCreatedLibraries": "Seems like you haven't created any libraries yet. {0}Would you like to create one now?{1}",
"NoLyricsSearchResultsFound": "No lyrics found.",
"None": "None",