mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2026-09-03 03:50:02 +03:00
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:
@@ -96,6 +96,14 @@ const RemotePlayMenu: FC<RemotePlayMenuProps> = ({
|
||||
/>
|
||||
</MenuItem>
|
||||
))}
|
||||
|
||||
{isChromecastPluginLoaded && playbackTargets.length === 0 && (
|
||||
<MenuItem disabled>
|
||||
<ListItemText>
|
||||
{globalize.translate('NoCastTargets')}
|
||||
</ListItemText>
|
||||
</MenuItem>
|
||||
)}
|
||||
</Menu>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user