[v11.4.x] Graphite: Fix issue where duplicated panels share same query object (#99100)
Graphite: Fix issue where duplicated panels share same query object (#99077)
(cherry picked from commit c0b3932168)
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
This commit is contained in:
co-authored by
kay delaney
parent
ccb40e3bba
commit
e215d16299
@@ -88,7 +88,7 @@ export const GraphiteQueryEditorContext = ({
|
||||
if (!state) {
|
||||
dispatch(
|
||||
actions.init({
|
||||
target: query,
|
||||
target: { ...query },
|
||||
datasource: datasource,
|
||||
range: range,
|
||||
templateSrv: getTemplateSrv(),
|
||||
|
||||
Reference in New Issue
Block a user