File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1- import { Component } from '@angular/core'
1+ import { Component , OnInit } from '@angular/core'
2+ import { ThemeService } from '@geonetwork-ui/util/shared'
3+ import { getThemeConfig } from '@geonetwork-ui/util/app-config'
24
35@Component ( {
46 selector : 'md-editor-root' ,
57 templateUrl : './app.component.html' ,
68 styleUrls : [ './app.component.css' ] ,
79 standalone : false ,
810} )
9- export class AppComponent {
11+ export class AppComponent implements OnInit {
1012 title = 'metadata-editor'
13+
14+ ngOnInit ( ) : void {
15+ const favicon = getThemeConfig ( ) . FAVICON
16+ if ( favicon ) ThemeService . setFavicon ( favicon )
17+ }
1118}
Original file line number Diff line number Diff line change 55 < title > MetadataEditor</ title >
66 < base href ="/ " />
77 < meta name ="viewport " content ="width=device-width, initial-scale=1 " />
8- < link rel ="icon " type ="image/x-icon " href ="assets/favicon.ico " />
98 < link rel ="stylesheet " href ="assets/css/materials-symbols-outline.css " />
109 < link
1110 rel ="preload "
You can’t perform that action at this time.
0 commit comments