Commit c2d399b0 by Sean Lafferty Committed by Torkel Ödegaard

Fix: Query editor toggle edit mode fix (#16394)

Increase timeout when waiting for datasource toggleEditorMode check 

Fixes  #16393
parent 47e51cb6
...@@ -161,7 +161,7 @@ export class QueryEditorRow extends PureComponent<Props, State> { ...@@ -161,7 +161,7 @@ export class QueryEditorRow extends PureComponent<Props, State> {
// give angular time to compile // give angular time to compile
setTimeout(() => { setTimeout(() => {
this.setState({ hasTextEditMode: !!this.angularScope.toggleEditorMode }); this.setState({ hasTextEditMode: !!this.angularScope.toggleEditorMode });
}, 10); }, 100);
} }
onToggleCollapse = () => { onToggleCollapse = () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment