update integrations check to account for null default state
This commit is contained in:
parent
a4ff229e37
commit
7c54fbd0df
@ -250,7 +250,7 @@ class Backend {
|
||||
/**
|
||||
* Determine whether an asset store integration is in use.
|
||||
*/
|
||||
const hasAssetStore = !!selectIntegration(integrations, null, 'assetStore');
|
||||
const hasAssetStore = integrations && !!selectIntegration(integrations, null, 'assetStore');
|
||||
const updatedOptions = { ...options, hasAssetStore };
|
||||
|
||||
return this.implementation.persistEntry(entryObj, MediaFiles, {
|
||||
|
Loading…
x
Reference in New Issue
Block a user