fix: do not run cleanup and build parallel

fix: UI error toasts
This commit is contained in:
Andras Bacsai
2022-07-08 14:11:18 +02:00
parent d344a9bb4f
commit da11bae67c
18 changed files with 66 additions and 42 deletions

View File

@@ -61,7 +61,7 @@
ownMysql
});
service.wordpress.ownMysql = ownMysql;
} catch ({ error }) {
} catch (error) {
return errorNotification(error);
}
}

View File

@@ -31,7 +31,7 @@
}
if (newStorage) toast.push('Storage saved.');
else toast.push('Storage updated.');
} catch ({ error }) {
} catch (error) {
return errorNotification(error);
}
}
@@ -40,7 +40,7 @@
await del(`/services/${id}/storages`, { path: storage.path });
dispatch('refresh');
toast.push('Storage deleted.');
} catch ({ error }) {
} catch (error) {
return errorNotification(error);
}
}