Skip to content

Commit

Permalink
Merge pull request #34593 from phillip-kruger/dev-ui-header-fix
Browse files Browse the repository at this point in the history
Dev UI: Add Extension name in header page
  • Loading branch information
cescoffier authored Jul 7, 2023
2 parents 0362e1c + afbacc4 commit 89bacac
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,18 @@ export class RouterController {
}

getCurrentTitle(){
let dot = "\u00B7";
let p = this.getCurrentPage();
if(p){
if(p.namespaceLabel){
return p.namespaceLabel;
}else {
return p.title;
let md = this.getCurrentMetaData();
if(md && md.extensionName){
return md.extensionName + " " + dot + " " + p.title;
}else {
return p.title;
}
}
}
return null;
Expand Down

0 comments on commit 89bacac

Please sign in to comment.