mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
CodeEditor keeps model after unmount (#70661)
This commit is contained in:
parent
f18a7f7d96
commit
a2dad8a636
@ -166,6 +166,7 @@ class UnthemedCodeEditor extends PureComponent<Props> {
|
|||||||
}}
|
}}
|
||||||
beforeMount={this.handleBeforeMount}
|
beforeMount={this.handleBeforeMount}
|
||||||
onMount={this.handleOnMount}
|
onMount={this.handleOnMount}
|
||||||
|
keepCurrentModel={true}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user