Cleanup react warnings from manage modals

pull/5695/head
Qstick 1 year ago
parent 593652a84a
commit efab1b0793

@ -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,33 +56,25 @@ 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>
<TableRowCell
className={styles.qualityProfileId}
title={qualityProfileId}
>
<TableRowCell className={styles.qualityProfileId}>
{qualityProfile?.name ?? 'None'}
</TableRowCell>
<TableRowCell className={styles.rootFolderPath} title={rootFolderPath}>
<TableRowCell className={styles.rootFolderPath}>
{rootFolderPath}
</TableRowCell>
<TableRowCell
className={styles.enableAutomaticAdd}
title={enableAutomaticAdd}
>
<TableRowCell className={styles.enableAutomaticAdd}>
{enableAutomaticAdd ? '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