🐛 rename okStatus to statusCodes

This commit is contained in:
ajnart
2023-01-19 22:28:11 +09:00
committed by Manuel
parent 1e046e8193
commit 41da97feaf
6 changed files with 6 additions and 6 deletions

View File

@@ -27,7 +27,7 @@ export const NetworkTab = ({ form }: NetworkTabProps) => {
data={StatusCodes}
clearable
searchable
defaultValue={form.values.network.okStatus}
defaultValue={form.values.network.statusCodes}
variant="default"
{...form.getInputProps('network.statusCodes')}
/>

View File

@@ -95,7 +95,7 @@ export const AvailableElementTypes = ({
},
network: {
enabledStatusChecker: true,
okStatus: [200],
statusCodes: [200],
},
behaviour: {
isOpeningNewTab: true,