소스 검색

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

Johan Ahlen 7 년 전
부모
커밋
56f5c5b043
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;
   };