From 3c12d25c037b83a2d44017e4efbf5ff791b4f1d6 Mon Sep 17 00:00:00 2001 From: Vasile Chindris Date: Mon, 14 Oct 2024 22:10:36 +0300 Subject: [PATCH] chore(SLB-487): remove the type property from the suggestions query --- packages/drupal/gutenberg_blocks/js/blocks/cta.tsx | 1 - packages/drupal/gutenberg_blocks/js/blocks/teaser-item.tsx | 1 - 2 files changed, 2 deletions(-) diff --git a/packages/drupal/gutenberg_blocks/js/blocks/cta.tsx b/packages/drupal/gutenberg_blocks/js/blocks/cta.tsx index 359d2aaa5..afb45d280 100644 --- a/packages/drupal/gutenberg_blocks/js/blocks/cta.tsx +++ b/packages/drupal/gutenberg_blocks/js/blocks/cta.tsx @@ -116,7 +116,6 @@ registerBlockType<{ // for 'data-entity-type' in the onChange() handler by yourself. //suggestionsQuery={{ - // type: 'post', // subtype: 'gutenberg', //}} diff --git a/packages/drupal/gutenberg_blocks/js/blocks/teaser-item.tsx b/packages/drupal/gutenberg_blocks/js/blocks/teaser-item.tsx index 2b2192d8b..d0fd1f7dd 100644 --- a/packages/drupal/gutenberg_blocks/js/blocks/teaser-item.tsx +++ b/packages/drupal/gutenberg_blocks/js/blocks/teaser-item.tsx @@ -39,7 +39,6 @@ registerBlockType<{ }} settings={{}} suggestionsQuery={{ - type: 'post', // Use the teaser_list linkit profile to fetch suggestions. subtype: 'teaser_list', }}