Skip to content

Commit

Permalink
removes the template condition and shows the chevron back in edit pos…
Browse files Browse the repository at this point in the history
…t header (#57807)
  • Loading branch information
draganescu committed Jan 15, 2024
1 parent 0760faa commit e6a34a3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/edit-post/src/components/header/index.js
Expand Up @@ -119,9 +119,7 @@ function Header( { setEntitiesSavedStatesCallback } ) {
className={ classnames(
'selected-block-tools-wrapper',
{
'is-collapsed':
isEditingTemplate &&
isBlockToolsCollapsed,
'is-collapsed': isBlockToolsCollapsed,
}
) }
>
Expand All @@ -131,7 +129,7 @@ function Header( { setEntitiesSavedStatesCallback } ) {
ref={ blockToolbarRef }
name="block-toolbar"
/>
{ isEditingTemplate && hasBlockSelection && (
{ hasBlockSelection && (
<Button
className="edit-post-header__block-tools-toggle"
icon={ isBlockToolsCollapsed ? next : previous }
Expand Down

0 comments on commit e6a34a3

Please sign in to comment.