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.
1 parent 80060a9 commit 7cf05deCopy full SHA for 7cf05de
app/code/Magento/PageCache/view/frontend/web/js/form-key-provider.js
@@ -82,7 +82,7 @@ define(function () {
82
function initFormKey() {
83
formKey = getFormKeyCookie();
84
85
- if (settings.isPaginationCacheEnabled && !formKey) {
+ if (settings && settings.isPaginationCacheEnabled && !formKey) {
86
formKey = getFormKeyFromUI();
87
setFormKeyCookie(formKey);
88
}
0 commit comments