瀏覽代碼

HUE-7962 [assist] Show the comment in the title for entities if set

Johan Ahlen 7 年之前
父節點
當前提交
56f5c5b
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      desktop/core/src/desktop/static/desktop/js/dataCatalog.js

+ 3 - 0
desktop/core/src/desktop/static/desktop/js/dataCatalog.js

@@ -1121,6 +1121,9 @@ var DataCatalog = (function () {
         title += ' (' + type + ')';
       }
     }
+    if (self.hasResolvedComment() && self.getResolvedComment()) {
+      title += ' - ' + self.getResolvedComment();
+    }
     return title;
   };