Missing presets bugfix.

pull/2737/head
Blaz Kristan 2022-08-14 22:16:42 +02:00
rodzic 1de009a80d
commit e6f74751d4
2 zmienionych plików z 890 dodań i 888 usunięć

Wyświetl plik

@ -440,7 +440,8 @@ function loadPresets(callback = null)
method: 'get'
})
.then(res => {
if (!res.ok) showErrorToast();
if (res.status=="404") return {"0":{}};
//if (!res.ok) showErrorToast();
return res.json();
})
.then(json => {
@ -449,7 +450,7 @@ function loadPresets(callback = null)
populatePresets();
})
.catch((e)=>{
showToast(e, true);
//showToast(e, true);
presetError(false);
})
.finally(()=>{

Plik diff jest za duży Load Diff