فهرست منبع

[core] Fix assist table data sample preview

Johan Ahlen 10 سال پیش
والد
کامیت
f3adbb7c85
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      desktop/core/src/desktop/templates/ko_components.mako

+ 1 - 1
desktop/core/src/desktop/templates/ko_components.mako

@@ -478,7 +478,7 @@ from desktop.views import _ko
         $assistQuickLook.find(".sample").empty("");
         $assistQuickLook.attr("style", "width: " + ($(window).width() - 120) + "px;margin-left:-" + (($(window).width() - 80) / 2) + "px!important;");
 
-        self.assistSource.assistHelper.fetchTableHtmlPreview(self.snippet, tableName, function(data) {
+        self.assistSource.assistHelper.fetchTableHtmlPreview(self.assistSource.snippet, tableName, function(data) {
           $assistQuickLook.find(".loader").hide();
           $assistQuickLook.find(".sample").html(data);
         }, function(e) {