Config UI: remove device validate timeout (#26045)

This commit is contained in:
Michael Geers 2025-12-17 11:21:46 +01:00 • committed by GitHub
parent 6f97bff88d
commit eee7fa0e30
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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) {