Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get up-to-date logoBlockCount when removing block
Previously we were getting the logoBlockCount on block creation, but this value could become out of date if more Site Logo blocks were added afterward. Now we count the number of blocks at the time of block removal, so that it is guaranteed up-to-date, and we ensure that changes are only discarded if there are no other Site Logo blocks on the page.
- Loading branch information