Skip to content

Commit

Permalink
fix: type error access of index signature
Browse files Browse the repository at this point in the history
  • Loading branch information
boeckMt committed May 16, 2022
1 parent 5f146b4 commit 55e7700
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ export class AppComponent implements OnDestroy {
private progressService: ProgressService
) {
const meta = this.getHtmlMeta(['title', 'version', 'description', 'short-title']);
if (meta.title) {
this.title = meta.title;
if (meta['title']) {
this.title = meta['title'];
}
if (meta['short-title']) {
this.shortTitle = meta['short-title'];
Expand Down

0 comments on commit 55e7700

Please sign in to comment.