Skip to content

Commit 209b24b

Browse files
committed
Guard ids-storage-compare from lack of minicart
1 parent 6f26909 commit 209b24b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/view/frontend/web/js/product/storage/ids-storage-compare.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ define([
2828
this.data = ko.observable({});
2929
}
3030

31-
if (this.provider) {
31+
if (this.provider && window.checkout && window.checkout.baseUrl) {
3232
this.providerDataHandler(customerData.get(this.provider)());
3333
this.initProviderListener();
3434
}

0 commit comments

Comments
 (0)