fix: error message typo

This commit is contained in:
Elias Schneider
2023-01-06 09:21:46 +01:00
parent f2d4895e50
commit 72c8081e7c
3 changed files with 7 additions and 11 deletions

View File

@@ -115,9 +115,10 @@ const AdminConfigTable = () => {
if (config.get("SETUP_FINISHED")) {
configService
.updateMany(updatedConfigVariables)
.then(() =>
toast.success("Configurations updated successfully")
)
.then(() => {
updatedConfigVariables = [];
toast.success("Configurations updated successfully");
})
.catch(toast.axiosError);
} else {
configService