mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Explore: Fix legend toggling (#47823)
This commit is contained in:
parent
9b0b391949
commit
f0f3134cb1
@ -141,7 +141,7 @@ const getExistingDisplayNames = (rule: SystemConfigOverrideRule): string[] => {
|
||||
if (!Array.isArray(names)) {
|
||||
return [];
|
||||
}
|
||||
return names;
|
||||
return [...names];
|
||||
};
|
||||
|
||||
const allFieldsAreExcluded = (override: SystemConfigOverrideRule, data: DataFrame[]): boolean => {
|
||||
|
Loading…
Reference in New Issue
Block a user