Commit 1fdc24c4 by Alexander Zobnin Committed by Torkel Ödegaard

text panel: fix $apply already in progress error (#10486)

parent 5d5de230
......@@ -66,9 +66,6 @@ export class TextPanelCtrl extends PanelCtrl {
renderMarkdown(content) {
if (!this.remarkable) {
this.remarkable = new Remarkable();
this.$scope.$apply(() => {
this.updateContent(this.remarkable.render(content));
});
}
this.$scope.$applyAsync(() => {
......
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