mirror of
https://github.com/WowUp/WowUp.git
synced 2026-04-22 15:00:38 -04:00
Fix lint error
This commit is contained in:
@@ -4,14 +4,13 @@ import { TranslateService } from "@ngx-translate/core";
|
||||
import { from, of } from "rxjs";
|
||||
import { catchError, first, switchMap } from "rxjs/operators";
|
||||
import { ConfirmDialogComponent } from "../components/confirm-dialog/confirm-dialog.component";
|
||||
import { DialogFactory } from "../services/dialog/dialog.factory";
|
||||
import { WowUpService } from "../services/wowup/wowup.service";
|
||||
|
||||
@Directive({
|
||||
selector: "[appExternalLink]",
|
||||
})
|
||||
export class ExternalLinkDirective {
|
||||
@HostListener("click", ["$event"]) public async onClick($event: MouseEvent): Promise<void> {
|
||||
@HostListener("click", ["$event"]) public onClick($event: MouseEvent): void {
|
||||
$event.preventDefault();
|
||||
$event.stopPropagation();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user