mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-01 23:13:34 +00:00
Revert eslint upgrade, fix linting
This commit is contained in:
@@ -91,7 +91,7 @@ function TableLayout({
|
||||
? intl.formatMessage(
|
||||
{ id: "tables.no-items-with-filters" },
|
||||
{ count: state.filters.length },
|
||||
)
|
||||
)
|
||||
: intl.formatMessage({ id: "tables.no-items" })}
|
||||
</Center>
|
||||
</Td>
|
||||
@@ -153,7 +153,7 @@ function TableLayout({
|
||||
))}
|
||||
</Tr>
|
||||
);
|
||||
})
|
||||
})
|
||||
: renderEmpty()}
|
||||
</Tbody>
|
||||
</Table>
|
||||
@@ -171,7 +171,7 @@ function TableLayout({
|
||||
),
|
||||
total: pagination.total,
|
||||
},
|
||||
)
|
||||
)
|
||||
: null}
|
||||
</Text>
|
||||
{state?.filters?.length ? (
|
||||
|
@@ -62,7 +62,7 @@ function DNSProviderField() {
|
||||
{!isLoading && !data?.total
|
||||
? intl.formatMessage({
|
||||
id: "dns-providers.empty",
|
||||
})
|
||||
})
|
||||
: form.errors[fieldName]}
|
||||
</FormErrorMessage>
|
||||
</FormControl>
|
||||
|
@@ -111,7 +111,7 @@ function DomainNamesField({
|
||||
{helperTexts.length
|
||||
? helperTexts.map((i) => {
|
||||
return <FormHelperText key={i}>{i}</FormHelperText>;
|
||||
})
|
||||
})
|
||||
: null}
|
||||
<FormErrorMessage>{form.errors.domainNames}</FormErrorMessage>
|
||||
</FormControl>
|
||||
|
@@ -288,7 +288,7 @@ function DNSProviderCreateModal({
|
||||
)}
|
||||
</Field>
|
||||
);
|
||||
})
|
||||
})
|
||||
: null}
|
||||
</>
|
||||
) : null}
|
||||
|
Reference in New Issue
Block a user