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

Increase timeout when waiting for datasource toggleEditorMode check 

Fixes  #16393
This commit is contained in:
Sean Lafferty
2019-04-05 01:36:32 -04:00
committed by Torkel Ödegaard
parent 47e51cb6b3
commit c2d399b059

View File

@@ -161,7 +161,7 @@ export class QueryEditorRow extends PureComponent<Props, State> {
// give angular time to compile
setTimeout(() => {
this.setState({ hasTextEditMode: !!this.angularScope.toggleEditorMode });
}, 10);
}, 100);
}
onToggleCollapse = () => {