diff options
author | Chocobozzz <me@florianbigard.com> | 2022-07-15 15:30:14 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-07-18 11:37:18 +0200 |
commit | 42b40636991b97fe818007fab19091764fc5db73 (patch) | |
tree | db431787c06ce898d22e91ff771f795219274fc6 /client/src/app/shared/shared-forms | |
parent | 654d4ede7fa4d0faa71e49bcfab6b65a686397b2 (diff) | |
download | PeerTube-42b40636991b97fe818007fab19091764fc5db73.tar.gz PeerTube-42b40636991b97fe818007fab19091764fc5db73.tar.zst PeerTube-42b40636991b97fe818007fab19091764fc5db73.zip |
Add ability for client to create server logs
Diffstat (limited to 'client/src/app/shared/shared-forms')
-rw-r--r-- | client/src/app/shared/shared-forms/advanced-input-filter.component.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/shared/shared-forms/advanced-input-filter.component.ts b/client/src/app/shared/shared-forms/advanced-input-filter.component.ts index d8aeaa0fa..929438749 100644 --- a/client/src/app/shared/shared-forms/advanced-input-filter.component.ts +++ b/client/src/app/shared/shared-forms/advanced-input-filter.component.ts | |||
@@ -16,7 +16,7 @@ export type AdvancedInputFilterChild = { | |||
16 | value: string | 16 | value: string |
17 | } | 17 | } |
18 | 18 | ||
19 | const logger = debug('peertube:AdvancedInputFilterComponent') | 19 | const debugLogger = debug('peertube:AdvancedInputFilterComponent') |
20 | 20 | ||
21 | @Component({ | 21 | @Component({ |
22 | selector: 'my-advanced-input-filter', | 22 | selector: 'my-advanced-input-filter', |
@@ -98,7 +98,7 @@ export class AdvancedInputFilterComponent implements OnInit, AfterViewInit { | |||
98 | .subscribe(params => { | 98 | .subscribe(params => { |
99 | const search = params.search || '' | 99 | const search = params.search || '' |
100 | 100 | ||
101 | logger('On route search change "%s".', search) | 101 | debugLogger('On route search change "%s".', search) |
102 | 102 | ||
103 | if (this.searchValue === search) return | 103 | if (this.searchValue === search) return |
104 | 104 | ||
@@ -132,7 +132,7 @@ export class AdvancedInputFilterComponent implements OnInit, AfterViewInit { | |||
132 | return | 132 | return |
133 | } | 133 | } |
134 | 134 | ||
135 | logger('On search "%s".', this.searchValue) | 135 | debugLogger('On search "%s".', this.searchValue) |
136 | 136 | ||
137 | this.search.emit(this.searchValue) | 137 | this.search.emit(this.searchValue) |
138 | } | 138 | } |