mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2025-12-24 02:39:18 -05:00
fix: fix usertype from local user to mediaServerType
Fixes usertype from appearing as local user even if the mediaServerType is jellyfin
This commit is contained in:
@@ -58,6 +58,7 @@ const messages = defineMessages({
|
||||
deleteconfirm:
|
||||
'Are you sure you want to delete this user? All of their request data will be permanently removed.',
|
||||
localuser: 'Local User',
|
||||
mediaServerUser: '{mediaServerName} User',
|
||||
createlocaluser: 'Create Local User',
|
||||
creating: 'Creating…',
|
||||
create: 'Create',
|
||||
@@ -636,7 +637,13 @@ const UserList: React.FC = () => {
|
||||
</Badge>
|
||||
) : (
|
||||
<Badge badgeType="default">
|
||||
{intl.formatMessage(messages.localuser)}
|
||||
{intl.formatMessage(messages.mediaServerUser, {
|
||||
mediaServerName:
|
||||
settings.currentSettings.mediaServerType ===
|
||||
MediaServerType.PLEX
|
||||
? 'Plex'
|
||||
: 'Jellyfin',
|
||||
})}
|
||||
</Badge>
|
||||
)}
|
||||
</Table.TD>
|
||||
|
||||
Reference in New Issue
Block a user