-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fill quick inserter results with available variations if limit is set…
… and items are less. (#24481) * fill with available variations if limit is set * Inserter: Test for isDefault:true block variations * Fix provision of variations in block inserter items * Simplify overall logic * Prioritize base block types, excluding those superseded by isDefault:true block variations * add quick exit if there are enough items * remove incomplete limit check on top Co-authored-by: Miguel Fonseca <miguelcsf@gmail.com>
- Loading branch information
1 parent
48ff9a1
commit 21a8791
Showing
3 changed files
with
81 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters