Cleanup react warnings from manage modals

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

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

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

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

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

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

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

Loading…
Cancel
Save