mirror of
https://github.com/grafana/grafana.git
synced 2025-02-09 23:16:16 -06:00
Search(Playground) Action Row: Fix disabled option folder layout when sorting (#49182)
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
This commit is contained in:
parent
5b6d20fbce
commit
d592d4dd73
@ -61,7 +61,7 @@ export const ActionRow: FC<Props> = ({
|
||||
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 (
|
||||
<div className={styles.actionRow}>
|
||||
|
Loading…
Reference in New Issue
Block a user