fix: also check user type for movie sync setting

feature/watchlist-sync
Ryan Cohen 2 years ago
parent a505bd7d4d
commit dcba13eeb9

@ -422,7 +422,8 @@ const UserGeneralSettings = () => {
{hasPermission(
[Permission.AUTO_REQUEST, Permission.AUTO_REQUEST_MOVIE],
{ type: 'or' }
) && (
) &&
user?.userType === UserType.PLEX && (
<div className="form-row">
<label
htmlFor="watchlistSyncMovies"
@ -432,8 +433,12 @@ const UserGeneralSettings = () => {
{intl.formatMessage(messages.plexwatchlistsyncmovies)}
</span>
<span className="label-tip">
{intl.formatMessage(messages.plexwatchlistsyncmoviestip, {
PlexWatchlistSupportLink: (msg: React.ReactNode) => (
{intl.formatMessage(
messages.plexwatchlistsyncmoviestip,
{
PlexWatchlistSupportLink: (
msg: React.ReactNode
) => (
<a
href="https://support.plex.tv/articles/universal-watchlist/"
className="text-white transition duration-300 hover:underline"
@ -443,7 +448,8 @@ const UserGeneralSettings = () => {
{msg}
</a>
),
})}
}
)}
</span>
</label>
<div className="form-input-area">

Loading…
Cancel
Save