From d592d4dd736322074b3205b2ac6783f82da1f5ed Mon Sep 17 00:00:00 2001 From: Maria Alexandra <239999+axelavargas@users.noreply.github.com> Date: Thu, 19 May 2022 10:05:04 +0200 Subject: [PATCH] Search(Playground) Action Row: Fix disabled option folder layout when sorting (#49182) Co-authored-by: Ryan McKinley --- public/app/features/search/page/components/ActionRow.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/search/page/components/ActionRow.tsx b/public/app/features/search/page/components/ActionRow.tsx index aab6465dac7..0b876f44960 100644 --- a/public/app/features/search/page/components/ActionRow.tsx +++ b/public/app/features/search/page/components/ActionRow.tsx @@ -61,7 +61,7 @@ export const ActionRow: FC = ({ const layout = getValidQueryLayout(query); // Disabled folder layout option when query is present - const disabledOptions = query.sort || query.query ? [SearchLayout.Folders] : []; + const disabledOptions = query.query ? [SearchLayout.Folders] : []; return (