From 600031fa4502a018b82c314f815a2d60bb931456 Mon Sep 17 00:00:00 2001 From: Oleksii Orel Date: Fri, 27 Sep 2024 18:48:33 +0300 Subject: [PATCH] fixup! fix: hasTechPreviewTag filter Signed-off-by: Oleksii Orel --- .../src/components/EditorSelector/Gallery/Entry/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/dashboard-frontend/src/components/EditorSelector/Gallery/Entry/index.tsx b/packages/dashboard-frontend/src/components/EditorSelector/Gallery/Entry/index.tsx index 0a2b0eab7..94b16022e 100644 --- a/packages/dashboard-frontend/src/components/EditorSelector/Gallery/Entry/index.tsx +++ b/packages/dashboard-frontend/src/components/EditorSelector/Gallery/Entry/index.tsx @@ -150,9 +150,9 @@ export class EditorSelectorEntry extends React.PureComponent { groupIconMediatype === 'image/svg+xml' ? `data:image/svg+xml;charset=utf-8,${encodeURIComponent(groupIcon)}` : groupIcon; - const hasTechPreviewTag = - (activeEditor.tags || []).map(tag => tag.toLowerCase()).includes('tech-preview') || - /idea/i.test(activeEditor.id) === true; + const hasTechPreviewTag = (activeEditor.tags || []) + .map(tag => tag.toLowerCase()) + .includes('tech-preview'); const tagsGroup = (