From 1fdc24c412073227c3c21f3ea6d2b6155de31da4 Mon Sep 17 00:00:00 2001
From: Alexander Zobnin <alexanderzobnin@gmail.com>
Date: Wed, 10 Jan 2018 13:56:01 +0300
Subject: [PATCH] text panel: fix $apply already in progress error (#10486)

---
 public/app/plugins/panel/text/module.ts | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/public/app/plugins/panel/text/module.ts b/public/app/plugins/panel/text/module.ts
index c7e75678c16..684bba124fc 100644
--- a/public/app/plugins/panel/text/module.ts
+++ b/public/app/plugins/panel/text/module.ts
@@ -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(() => {