@ -137,7 +137,7 @@ const ManageSlideOver = ({
< div className = "space-y-6" >
< div className = "space-y-6" >
{ ( ( data ? . mediaInfo ? . downloadStatus ? ? [ ] ) . length > 0 ||
{ ( ( data ? . mediaInfo ? . downloadStatus ? ? [ ] ) . length > 0 ||
( data ? . mediaInfo ? . downloadStatus4k ? ? [ ] ) . length > 0 ) && (
( data ? . mediaInfo ? . downloadStatus4k ? ? [ ] ) . length > 0 ) && (
< >
< div >
< h3 className = "mb-2 text-xl font-bold" >
< h3 className = "mb-2 text-xl font-bold" >
{ intl . formatMessage ( messages . downloadstatus ) }
{ intl . formatMessage ( messages . downloadstatus ) }
< / h3 >
< / h3 >
@ -161,13 +161,13 @@ const ManageSlideOver = ({
) ) }
) ) }
< / ul >
< / ul >
< / div >
< / div >
< / >
< / div >
) }
) }
{ hasPermission ( [ Permission . MANAGE_ISSUES , Permission . VIEW_ISSUES ] , {
{ hasPermission ( [ Permission . MANAGE_ISSUES , Permission . VIEW_ISSUES ] , {
type : 'or' ,
type : 'or' ,
} ) &&
} ) &&
openIssues . length > 0 && (
openIssues . length > 0 && (
< >
< div >
< h3 className = "mb-2 text-xl font-bold" >
< h3 className = "mb-2 text-xl font-bold" >
{ intl . formatMessage ( messages . manageModalIssues ) }
{ intl . formatMessage ( messages . manageModalIssues ) }
< / h3 >
< / h3 >
@ -183,10 +183,10 @@ const ManageSlideOver = ({
) ) }
) ) }
< / ul >
< / ul >
< / div >
< / div >
< / >
< / div >
) }
) }
{ requests . length > 0 && (
{ requests . length > 0 && (
< >
< div >
< h3 className = "mb-2 text-xl font-bold" >
< h3 className = "mb-2 text-xl font-bold" >
{ intl . formatMessage ( messages . manageModalRequests ) }
{ intl . formatMessage ( messages . manageModalRequests ) }
< / h3 >
< / h3 >
@ -205,13 +205,13 @@ const ManageSlideOver = ({
) ) }
) ) }
< / ul >
< / ul >
< / div >
< / div >
< / >
< / div >
) }
) }
{ hasPermission ( Permission . ADMIN ) &&
{ hasPermission ( Permission . ADMIN ) &&
( data . mediaInfo ? . serviceUrl ||
( data . mediaInfo ? . serviceUrl ||
data . mediaInfo ? . tautulliUrl ||
data . mediaInfo ? . tautulliUrl ||
watchData ? . data ) && (
watchData ? . data ) && (
< >
< div >
< h3 className = "mb-2 text-xl font-bold" >
< h3 className = "mb-2 text-xl font-bold" >
{ intl . formatMessage ( messages . manageModalMedia ) }
{ intl . formatMessage ( messages . manageModalMedia ) }
< / h3 >
< / h3 >
@ -324,7 +324,7 @@ const ManageSlideOver = ({
< / a >
< / a >
) }
) }
< / div >
< / div >
< / >
< / div >
) }
) }
{ hasPermission ( Permission . ADMIN ) &&
{ hasPermission ( Permission . ADMIN ) &&
( data . mediaInfo ? . serviceUrl4k ||
( data . mediaInfo ? . serviceUrl4k ||