Add toasts i18n key
This commit is contained in:
1 parent
85b3b81617
commit
9c81d84e16
44 files changed
+496
-15
No files matched your search
@@ -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));
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user