From 9df52d660feb722404be00a50f3c8a612bec1c15 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 17 Aug 2021 14:42:53 +0200 Subject: Migrate client to eslint --- client/src/app/+about/about-instance/about-instance.component.ts | 2 +- .../app/+about/about-instance/contact-admin-modal.component.ts | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'client/src/app/+about/about-instance') diff --git a/client/src/app/+about/about-instance/about-instance.component.ts b/client/src/app/+about/about-instance/about-instance.component.ts index f86df5b67..0826bbc5a 100644 --- a/client/src/app/+about/about-instance/about-instance.component.ts +++ b/client/src/app/+about/about-instance/about-instance.component.ts @@ -95,6 +95,6 @@ export class AboutInstanceComponent implements OnInit, AfterViewChecked { onClickCopyLink (anchor: HTMLAnchorElement) { const link = anchor.href copyToClipboard(link) - this.notifier.success(link, $localize `Link copied`) + this.notifier.success(link, $localize`Link copied`) } } diff --git a/client/src/app/+about/about-instance/contact-admin-modal.component.ts b/client/src/app/+about/about-instance/contact-admin-modal.component.ts index cbc759881..fab9cfc4b 100644 --- a/client/src/app/+about/about-instance/contact-admin-modal.component.ts +++ b/client/src/app/+about/about-instance/contact-admin-modal.component.ts @@ -77,10 +77,10 @@ export class ContactAdminModalComponent extends FormReactive implements OnInit { } sendForm () { - const fromName = this.form.value[ 'fromName' ] - const fromEmail = this.form.value[ 'fromEmail' ] - const subject = this.form.value[ 'subject' ] - const body = this.form.value[ 'body' ] + const fromName = this.form.value['fromName'] + const fromEmail = this.form.value['fromEmail'] + const subject = this.form.value['subject'] + const body = this.form.value['body'] this.instanceService.contactAdministrator(fromEmail, fromName, subject, body) .subscribe({ -- cgit v1.2.3