yet another field ordering related change

This commit is contained in:
Mathias Biilmann Christensen 2017-02-21 23:59:34 -08:00
parent 57ec140363
commit b777343d70
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "netlify-cms",
"version": "0.3.11",
"version": "0.3.12",
"description": "Netlify CMS lets content editors work on structured content stored in git",
"main": "dist/cms.js",
"scripts": {

View File

@ -218,7 +218,7 @@ class Backend {
if (file == null) {
throw new Error(`No file found for ${ entry.get("slug") } in ${ collection.get('name') }`);
}
return file.get('fields').toArray();
return file.get('fields').map(f => f.get('name')).toArray();
}
}