From c511c3f010c45e08e7736a935bf721527db806c8 Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Tue, 7 Jan 2020 15:42:14 +0100 Subject: Show default avatar on network error for comments --- .../src/app/shared/angular/timestamp-route-transformer.directive.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'client/src/app/shared/angular') 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 @@ import { Directive, ElementRef, HostListener, Output, EventEmitter } from '@angular/core' import { Router } from '@angular/router' - -type ElementEvent = Omit & { - target: HTMLInputElement -} +import { ElementEvent } from '@app/shared/misc/utils' @Directive({ selector: '[timestampRouteTransformer]' -- cgit v1.2.3