yet another field ordering related change
This commit is contained in:
parent
57ec140363
commit
b777343d70
@ -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": {
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user