Skip to content

Commit a78e502

Browse files
author
Lukasz Borowiec
committed
#514: User sees content snapshot on Category page in Admin Panel #1 - Changed if statement to visibility attribute
1 parent 6137518 commit a78e502

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/template/page-builder.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
attr="{title: isFullScreen() ? $t('Close Full Screen') : $t('Open in Full Screen')}">
1818
</i>
1919
</div>
20-
<with args="panel" if="!isSnapshot()">
20+
<with args="panel">
2121
<render/>
2222
</with>
2323
<if args="isStageReady">

app/code/Magento/PageBuilder/view/adminhtml/web/template/panel.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
*/
66
-->
77

8-
<div id="pagebuilder-panel-wrapper" class="pagebuilder-panel-wrapper"
9-
css="visible: isVisible, 'sticky-top': isStickyTop, 'sticky-bottom': isStickyBottom, 'transition-out': pageBuilder.isSnapshotTransition"
8+
<div id="pagebuilder-panel-wrapper" class="pagebuilder-panel-wrapper" visible="!$parent.isSnapshot()"
9+
css="'sticky-top': isStickyTop, 'sticky-bottom': isStickyBottom, 'transition-out': pageBuilder.isSnapshotTransition"
1010
afterRender="afterRender">
1111
<div id="pagebuilder-panel" class="pagebuilder-panel">
1212
<div class="search-content-types">

0 commit comments

Comments
 (0)