Fix ordering when persisting a files based entry
This commit is contained in:
@ -218,7 +218,7 @@ class Backend {
|
|||||||
if (file == null) {
|
if (file == null) {
|
||||||
throw new Error(`No file found for ${ entry.get("slug") } in ${ collection.get('name') }`);
|
throw new Error(`No file found for ${ entry.get("slug") } in ${ collection.get('name') }`);
|
||||||
}
|
}
|
||||||
return file.get('fields');
|
return file.get('fields').toArray();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user