Closed zergionn closed 3 years ago
According to Magento documentation ( https://devdocs.magento.com/guides/v2.4/javascript-dev-guide/javascript/js_mixins.html ) mixin MUST returns an object (here, this._super()). Otherwise, when the function is called, it will return undefined instead of expected.
this._super()
undefined
Fixes #1
@zergionn Thanks for this!
According to Magento documentation ( https://devdocs.magento.com/guides/v2.4/javascript-dev-guide/javascript/js_mixins.html ) mixin MUST returns an object (here,
this._super()
). Otherwise, when the function is called, it will returnundefined
instead of expected.