Fix ordering when persisting a files based entry
This commit is contained in:
parent
c94d6e71c9
commit
09e6f2c80e
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user