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-main/angular | |
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-main/angular')
-rw-r--r-- | client/src/app/shared/shared-main/angular/defer-loading.directive.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/shared/shared-main/angular/defer-loading.directive.ts b/client/src/app/shared/shared-main/angular/defer-loading.directive.ts index 9a10e90e3..53d6e70ba 100644 --- a/client/src/app/shared/shared-main/angular/defer-loading.directive.ts +++ b/client/src/app/shared/shared-main/angular/defer-loading.directive.ts | |||
@@ -13,7 +13,7 @@ import { | |||
13 | ViewContainerRef | 13 | ViewContainerRef |
14 | } from '@angular/core' | 14 | } from '@angular/core' |
15 | 15 | ||
16 | const logger = debug('peertube:main:DeferLoadingDirective') | 16 | const debugLogger = debug('peertube:main:DeferLoadingDirective') |
17 | 17 | ||
18 | @Directive({ | 18 | @Directive({ |
19 | selector: '[myDeferLoading]' | 19 | selector: '[myDeferLoading]' |
@@ -52,7 +52,7 @@ export class DeferLoadingDirective implements AfterViewInit, OnDestroy { | |||
52 | load () { | 52 | load () { |
53 | if (this.isLoaded()) return | 53 | if (this.isLoaded()) return |
54 | 54 | ||
55 | logger('Loading component') | 55 | debugLogger('Loading component') |
56 | 56 | ||
57 | this.viewContainer.clear() | 57 | this.viewContainer.clear() |
58 | this.view = this.viewContainer.createEmbeddedView(this.template, {}, 0) | 58 | this.view = this.viewContainer.createEmbeddedView(this.template, {}, 0) |