feat: add publish configuration option to collections (#3467)
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { attempt, isError, take, unset } from 'lodash';
|
||||
import { attempt, isError, take, unset, isEmpty } from 'lodash';
|
||||
import uuid from 'uuid/v4';
|
||||
import {
|
||||
EditorialWorkflowError,
|
||||
@ -243,6 +243,7 @@ export default class TestBackend implements Implementation {
|
||||
},
|
||||
slug,
|
||||
mediaFiles: assetProxies.map(this.normalizeAsset),
|
||||
isModification: !isEmpty(getFile(path)),
|
||||
};
|
||||
unpubStore.push(unpubEntry);
|
||||
}
|
||||
|
Reference in New Issue
Block a user