Skip to content

Block patterns: hide sidebar when no patterns are registered #20867

@simison

Description

@simison

Describe the bug
When there are 0 block patterns registered, the sidebar shows up empty:

screenshot-2020-03-13-at-12 03 56

Kudos @akirk for spotting.

To reproduce
Steps to reproduce the behavior:

  1. Unregister all block patterns (@akirk do you have code at handy to do this?)
  2. Open block patterns sidebar
  3. Observe empty sidebar

Expected behavior
No block pattenrs sidebar available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] PatternsA collection of blocks that can be synced (previously reusable blocks) or unsynced[Type] BugAn existing feature does not function as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions