NIFI-4535

This closes #2826

Signed-off-by: Mike Thomsen <mikerthomsen@gmail.com>
This commit is contained in:
patricker 2018-06-29 10:49:44 -06:00 committed by Mike Thomsen
parent 3fd45ac4c4
commit 4ea6e6a40e
1 changed files with 8 additions and 0 deletions

View File

@ -166,6 +166,14 @@
nfNgBridge.injector.get('breadcrumbsCtrl').generateBreadcrumbs(breadcrumb);
nfNgBridge.injector.get('breadcrumbsCtrl').resetScrollPosition();
// set page title to the name of the root processor group
var rootBreadcrumb = breadcrumb;
while(rootBreadcrumb.parentBreadcrumb != null) {
rootBreadcrumb = rootBreadcrumb.parentBreadcrumb
}
document.title = rootBreadcrumb.breadcrumb.name;
// update the timestamp
$('#stats-last-refreshed').text(processGroupFlow.lastRefreshed);