Преглед на файлове

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