Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
comment clarification
  • Loading branch information
ntsekouras committed Sep 16, 2022
commit ee325a5e9b26cbb1ae03440d70f556777a9b28ef
8 changes: 5 additions & 3 deletions packages/block-library/src/query/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,10 +219,12 @@ export const getTransformedBlocksFromPattern = (
/**
* Helper hook that determines if there is an active variation of the block
* and if there are available specific patterns for this variation.
* If there are, they are going to be suggested to the user in setup and
* replace flow.
* If there are, these patterns are going to be the only ones suggested to
* the user in setup and replace flow, without including the default ones
* for Query Loop.
*
* If there are no patterns, the default ones for Query Loop are going to be suggested.
* If there are no such patterns, the default ones for Query Loop are going
* to be suggested.
*
* @param {string} clientId The block's client ID.
* @param {Object} attributes The block's attributes.
Expand Down