Skip to content

Commit

Permalink
Fixed check from null to undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
tjamesallen15 committed Apr 3, 2024
1 parent f87df83 commit 8d2d03a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ ContextualActionPanel.prototype = {
}

if (!isIframe) {
children.wrapAll('<div class="modal-content"></div>').wrapAll(`<div class="modal-body ${this.settings.detailRefId !== null ? 'padding-x-16 has-back-button' : ''}"></div>`);
children.wrapAll('<div class="modal-content"></div>').wrapAll(`<div class="modal-body ${this.settings.detailRefId !== undefined ? 'padding-x-16 has-back-button' : ''}"></div>`);
this.panel.addClass('modal');
}
}
Expand Down

0 comments on commit 8d2d03a

Please sign in to comment.