aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/header/header.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/header/header.component.ts')
-rw-r--r--client/src/app/header/header.component.ts16
1 files changed, 2 insertions, 14 deletions
diff --git a/client/src/app/header/header.component.ts b/client/src/app/header/header.component.ts
index d9311c554..cce76b0d1 100644
--- a/client/src/app/header/header.component.ts
+++ b/client/src/app/header/header.component.ts
@@ -1,5 +1,4 @@
1import { Component, OnInit } from '@angular/core' 1import { Component } from '@angular/core'
2import { I18n } from '@ngx-translate/i18n-polyfill'
3 2
4@Component({ 3@Component({
5 selector: 'my-header', 4 selector: 'my-header',
@@ -7,15 +6,4 @@ import { I18n } from '@ngx-translate/i18n-polyfill'
7 styleUrls: [ './header.component.scss' ] 6 styleUrls: [ './header.component.scss' ]
8}) 7})
9 8
10export class HeaderComponent implements OnInit { 9export class HeaderComponent {}
11 searchValue = ''
12 ariaLabelTextForSearch = ''
13
14 constructor (
15 private i18n: I18n
16 ) {}
17
18 ngOnInit () {
19 this.ariaLabelTextForSearch = this.i18n('Search videos, channels')
20 }
21}