Browse Source

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

Johan Ahlen 7 years ago
parent
commit
56f5c5b
1 changed files with 3 additions and 0 deletions
  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;
   };