Fix field name translations failing after sort

Fixes #5413
This commit is contained in:
rijkvanzanten
2021-05-21 21:50:42 -04:00
parent eb68195cd5
commit b782eba859
2 changed files with 7 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
---
'@directus/app': patch
---
Fixed issue where custom field translations would be lost in session when reordering the fields in settings

View File

@@ -216,6 +216,8 @@ export const useFieldsStore = createStore({
return field;
});
this.translateFields();
}
} catch (err) {
// reset the changes if the api sync failed