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

@ -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();
}
}