mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Making sure we do not pass a long invalid queries and save to state
This commit is contained in:
@@ -173,8 +173,9 @@ export default class LokiLanguageProvider extends LanguageProvider {
|
||||
})
|
||||
);
|
||||
}
|
||||
// Return a cleaned LokiQuery
|
||||
return queries.map(query => ({
|
||||
...query,
|
||||
refId: query.refId,
|
||||
expr: '',
|
||||
}));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user