Add keys i18n
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
});
|
||||
|
||||
if (res) {
|
||||
toast.success('Function created successfully');
|
||||
toast.success($i18n.t('Function created successfully'));
|
||||
functions.set(await getFunctions(localStorage.token));
|
||||
models.set(await getModels(localStorage.token));
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
});
|
||||
|
||||
if (res) {
|
||||
toast.success('Function updated successfully');
|
||||
toast.success($i18n.t('Function updated successfully'));
|
||||
functions.set(await getFunctions(localStorage.token));
|
||||
models.set(await getModels(localStorage.token));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user