We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 530922d + 7b5a136 commit 7bd0e9cCopy full SHA for 7bd0e9c
src/WebHelper.js
@@ -130,7 +130,7 @@ class WebHelper extends Helper {
130
store (assetType, dataFormat, data, assetId) {
131
const asset = new Asset(assetType, assetId, dataFormat);
132
// If we have an asset id, we should update, otherwise create to get an id
133
- const create = assetId !== '' || assetId === null || typeof assetId === 'undefined';
+ const create = assetId === '' || assetId === null || typeof assetId === 'undefined';
134
135
// Use the first store with the appropriate asset type and url function
136
const store = this.stores.filter(s =>
0 commit comments