aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/angular
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-01-07 15:42:14 +0100
committerChocobozzz <chocobozzz@cpy.re>2020-01-09 09:25:32 +0100
commitc511c3f010c45e08e7736a935bf721527db806c8 (patch)
tree5abc1ddd09b4d5b9b779f6d057fbda58015eab68 /client/src/app/shared/angular
parentfbc77eb648bda9add4634c08dbb6af48c3670b5d (diff)
downloadPeerTube-c511c3f010c45e08e7736a935bf721527db806c8.tar.gz
PeerTube-c511c3f010c45e08e7736a935bf721527db806c8.tar.zst
PeerTube-c511c3f010c45e08e7736a935bf721527db806c8.zip
Show default avatar on network error for comments
Diffstat (limited to 'client/src/app/shared/angular')
-rw-r--r--client/src/app/shared/angular/timestamp-route-transformer.directive.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/client/src/app/shared/angular/timestamp-route-transformer.directive.ts b/client/src/app/shared/angular/timestamp-route-transformer.directive.ts
index d71077d10..6e17957f8 100644
--- a/client/src/app/shared/angular/timestamp-route-transformer.directive.ts
+++ b/client/src/app/shared/angular/timestamp-route-transformer.directive.ts
@@ -1,9 +1,6 @@
1import { Directive, ElementRef, HostListener, Output, EventEmitter } from '@angular/core' 1import { Directive, ElementRef, HostListener, Output, EventEmitter } from '@angular/core'
2import { Router } from '@angular/router' 2import { Router } from '@angular/router'
3 3import { ElementEvent } from '@app/shared/misc/utils'
4type ElementEvent = Omit<Event, 'target'> & {
5 target: HTMLInputElement
6}
7 4
8@Directive({ 5@Directive({
9 selector: '[timestampRouteTransformer]' 6 selector: '[timestampRouteTransformer]'