Skip to content

Commit

Permalink
List View: Fix crash when the first template-parts is deleted width d…
Browse files Browse the repository at this point in the history
…el key (#47227)

* List View: Fix crash when the first template-parts is deleted width del key

* Update changelog
  • Loading branch information
t-hamano authored Jan 18, 2023
1 parent f7052d3 commit 897e3bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/block-editor/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- `BlockInspector`: Fix browser warning error when block is not selected ([#46875](https://github.com/WordPress/gutenberg/pull/46875)).
- Move component styles needed for iframes to content styles ([#47103](https://github.com/WordPress/gutenberg/pull/47103)).
- Block Inserter: Correctly apply style to the default inserter ([#47166](https://github.com/WordPress/gutenberg/pull/47166)).
- List View: Fix crash when the first template-parts is deleted width del key ([#47227](https://github.com/WordPress/gutenberg/pull/47227)).

## 11.1.0 (2023-01-02)

Expand Down
2 changes: 1 addition & 1 deletion packages/block-editor/src/components/list-view/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ function ListViewBlock( {
'is-synced-branch': isSyncedBranch,
'is-dragging': isDragged,
'has-single-cell': ! showBlockActions,
'is-synced': blockInformation.isSynced,
'is-synced': blockInformation?.isSynced,
} );

// Only include all selected blocks if the currently clicked on block
Expand Down

1 comment on commit 897e3bb

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 897e3bb.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/3946487651
📝 Reported issues:

Please sign in to comment.