Cleanup react warnings from manage modals

(cherry picked from commit efab1b0793a7d990889a03703b9d9755c4741313)
pull/8623/head
Qstick 1 year ago
parent 4fc1ee0aff
commit c69cc20266

@ -51,33 +51,23 @@ function ManageDownloadClientsModalRow(
onSelectedChange={onSelectedChangeWrapper}
/>
<TableRowCell className={styles.name} title={name}>
{name}
</TableRowCell>
<TableRowCell className={styles.name}>{name}</TableRowCell>
<TableRowCell className={styles.implementation} title={implementation}>
<TableRowCell className={styles.implementation}>
{implementation}
</TableRowCell>
<TableRowCell className={styles.enable} title={enable}>
<TableRowCell className={styles.enable}>
{enable ? 'Yes' : 'No'}
</TableRowCell>
<TableRowCell className={styles.priority} title={priority}>
{priority}
</TableRowCell>
<TableRowCell className={styles.priority}>{priority}</TableRowCell>
<TableRowCell
className={styles.removeCompletedDownloads}
title={removeCompletedDownloads}
>
<TableRowCell className={styles.removeCompletedDownloads}>
{removeCompletedDownloads ? 'Yes' : 'No'}
</TableRowCell>
<TableRowCell
className={styles.removeFailedDownloads}
title={removeFailedDownloads}
>
<TableRowCell className={styles.removeFailedDownloads}>
{removeFailedDownloads ? 'Yes' : 'No'}
</TableRowCell>
</TableRow>

@ -56,11 +56,9 @@ function ManageImportListsModalRow(props: ManageImportListsModalRowProps) {
onSelectedChange={onSelectedChangeWrapper}
/>
<TableRowCell className={styles.name} title={name}>
{name}
</TableRowCell>
<TableRowCell className={styles.name}>{name}</TableRowCell>
<TableRowCell className={styles.implementation} title={implementation}>
<TableRowCell className={styles.implementation}>
{implementation}
</TableRowCell>
@ -68,18 +66,15 @@ function ManageImportListsModalRow(props: ManageImportListsModalRowProps) {
{qualityProfile?.name ?? 'None'}
</TableRowCell>
<TableRowCell className={styles.rootFolderPath} title={rootFolderPath}>
<TableRowCell className={styles.rootFolderPath}>
{rootFolderPath}
</TableRowCell>
<TableRowCell
className={styles.enableAuto}
title={enableAuto}
>
<TableRowCell className={styles.enableAuto}>
{enableAuto ? 'Yes' : 'No'}
</TableRowCell>
<TableRowCell className={styles.tags} title={tags}>
<TableRowCell className={styles.tags}>
<TagListConnector tags={tags} />
</TableRowCell>
</TableRow>

@ -52,37 +52,27 @@ function ManageIndexersModalRow(props: ManageIndexersModalRowProps) {
onSelectedChange={onSelectedChangeWrapper}
/>
<TableRowCell className={styles.name} title={name}>
{name}
</TableRowCell>
<TableRowCell className={styles.name}>{name}</TableRowCell>
<TableRowCell className={styles.implementation} title={implementation}>
<TableRowCell className={styles.implementation}>
{implementation}
</TableRowCell>
<TableRowCell className={styles.enableRss} title={enableRss}>
<TableRowCell className={styles.enableRss}>
{enableRss ? 'Yes' : 'No'}
</TableRowCell>
<TableRowCell
className={styles.enableAutomaticSearch}
title={enableAutomaticSearch}
>
<TableRowCell className={styles.enableAutomaticSearch}>
{enableAutomaticSearch ? 'Yes' : 'No'}
</TableRowCell>
<TableRowCell
className={styles.enableInteractiveSearch}
title={enableInteractiveSearch}
>
<TableRowCell className={styles.enableInteractiveSearch}>
{enableInteractiveSearch ? 'Yes' : 'No'}
</TableRowCell>
<TableRowCell className={styles.priority} title={priority}>
{priority}
</TableRowCell>
<TableRowCell className={styles.priority}>{priority}</TableRowCell>
<TableRowCell className={styles.tags} title={tags}>
<TableRowCell className={styles.tags}>
<TagListConnector tags={tags} />
</TableRowCell>
</TableRow>

@ -85,6 +85,8 @@ export default {
selectedSchema: {},
isSaving: false,
saveError: null,
isDeleting: false,
deleteError: null,
isTesting: false,
isTestingAll: false,
items: [],

@ -85,6 +85,8 @@ export default {
selectedSchema: {},
isSaving: false,
saveError: null,
isDeleting: false,
deleteError: null,
isTesting: false,
isTestingAll: false,
items: [],

@ -89,6 +89,8 @@ export default {
selectedSchema: {},
isSaving: false,
saveError: null,
isDeleting: false,
deleteError: null,
isTesting: false,
isTestingAll: false,
items: [],

Loading…
Cancel
Save