Преглед изворни кода

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;
   };