Config UI: remove device validate timeout (#26045)
This commit is contained in:
parent
6f97bff88d
commit
eee7fa0e30
1 changed files with 1 additions and 3 deletions
|
|
@ -86,8 +86,6 @@ export function handleError(e: any, msg: string) {
|
|||
alert(message);
|
||||
}
|
||||
|
||||
export const timeout = 15000;
|
||||
|
||||
export function applyDefaultsFromTemplate(template: Template | null, values: DeviceValues) {
|
||||
const params = template?.Params || [];
|
||||
params
|
||||
|
|
@ -181,7 +179,7 @@ export function createDeviceUtils(deviceType: DeviceType) {
|
|||
if (id !== undefined) {
|
||||
url += `/merge/${id}`;
|
||||
}
|
||||
return api.post(url, data, { timeout });
|
||||
return api.post(url, data);
|
||||
}
|
||||
|
||||
function update(id: number, data: any, force = false) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue