Add toasts i18n key

This commit is contained in:
SimonOriginal
2024-06-24 17:18:39 +02:00
parent 85b3b81617
commit 9c81d84e16
44 changed files with 496 additions and 15 deletions
@@ -81,7 +81,7 @@
});
if (res) {
toast.success('Function deleted successfully');
toast.success($i18n.t('Function deleted successfully'));
functions.set(await getFunctions(localStorage.token));
models.set(await getModels(localStorage.token));
@@ -404,7 +404,7 @@
});
}
toast.success('Functions imported successfully');
toast.success($i18n.t('Functions imported successfully'));
functions.set(await getFunctions(localStorage.token));
models.set(await getModels(localStorage.token));
};