Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

additional check for matrix $addBlockMenuBtn #13195

Merged
merged 2 commits into from
May 15, 2023

Conversation

i-just
Copy link
Contributor

@i-just i-just commented May 15, 2023

Description

Check if $addBlockMenuBtn exists before tying actions to it.

The $addBlockMenuBtn isn't there if the matrix field has one block and the min and max blocks are both set to 1.

Related issues

#13194

@i-just i-just requested a review from a team as a code owner May 15, 2023 13:36
[ci skip]
@brandonkelly brandonkelly self-requested a review as a code owner May 15, 2023 14:29
@brandonkelly brandonkelly merged commit 7714d90 into v3 May 15, 2023
@brandonkelly brandonkelly deleted the bugfix/13194-matrix-addBlockMenuBtn-check branch May 15, 2023 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants