File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6969 >
7070 menu
7171 </ button >
72- < a mdcTopAppBarTitle title ="Anime Tracker " [routerLink] ="['/'] ">
72+ < a
73+ mdcTopAppBarTitle
74+ [title] ="'Anime Tracker v' + version "
75+ [routerLink] ="['/'] "
76+ >
7377 < img alt ="logo " src ="assets/icons/128.png " />
7478 </ a >
7579 < app-search-input
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { Router } from '@angular/router';
44import { DebugService } from 'src/app/services/debug.service' ;
55import { NotificationsService } from 'src/app/services/notifications.service' ;
66import { SettingsService } from 'src/app/services/settings.service' ;
7+ import packageJson from '../../../../../package.json' ;
78
89@Component ( {
910 selector : 'app-layout' ,
@@ -21,6 +22,7 @@ export class LayoutComponent implements OnInit {
2122 @Output ( ) private searchValueChange : EventEmitter < string > =
2223 new EventEmitter ( ) ;
2324 readonly views : typeof View = View ;
25+ readonly version : string = packageJson . version ;
2426
2527 constructor (
2628 public router : Router ,
Original file line number Diff line number Diff line change 77 "declaration" : false ,
88 "downlevelIteration" : true ,
99 "experimentalDecorators" : true ,
10+ "resolveJsonModule" : true ,
11+ "allowSyntheticDefaultImports" : true ,
1012 "module" : " es2020" ,
1113 "moduleResolution" : " node" ,
1214 "importHelpers" : true ,
You can’t perform that action at this time.
0 commit comments