mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
feat(frontend): show endpoint.name in page title (#4363)
* feat(frontend): show endpoint.name in page title * feat(frontend): show endpoint.name in page title - use rootscope for defaultTitle
This commit is contained in:
parent
bb5c2c2875
commit
74429d6d46
2 changed files with 7 additions and 1 deletions
|
@ -16,6 +16,7 @@ angular.module('portainer').run([
|
|||
EndpointProvider.initialize();
|
||||
|
||||
$rootScope.$state = $state;
|
||||
$rootScope.defaultTitle = document.title;
|
||||
|
||||
// Workaround to prevent the loading bar from going backward
|
||||
// https://github.com/chieffancypants/angular-loading-bar/issues/273
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue