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 232f7bc commit 46306ebCopy full SHA for 46306eb
app/code/Magento/PageBuilder/view/adminhtml/web/js/form/element/wysiwyg.js
@@ -68,9 +68,7 @@ define([
68
* Handle button click, init the Page Builder application
69
*/
70
pageBuilderEditButtonClick: function (context, event) {
71
- /* eslint-disable */
72
- let aclResource = this.pageBuilder.config?.acl;
73
- /* eslint-enable */
+ let aclResource = this.pageBuilder.config && this.pageBuilder.config.acl;
74
75
if (aclResource !== undefined && aclResource.widget === false) {
76
return alertDialog({
0 commit comments