diff options
Diffstat (limited to 'client/src/app/+about/about-instance')
-rw-r--r-- | client/src/app/+about/about-instance/about-instance.component.ts | 2 | ||||
-rw-r--r-- | client/src/app/+about/about-instance/contact-admin-modal.component.ts | 8 |
2 files changed, 5 insertions, 5 deletions
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 { | |||
95 | onClickCopyLink (anchor: HTMLAnchorElement) { | 95 | onClickCopyLink (anchor: HTMLAnchorElement) { |
96 | const link = anchor.href | 96 | const link = anchor.href |
97 | copyToClipboard(link) | 97 | copyToClipboard(link) |
98 | this.notifier.success(link, $localize `Link copied`) | 98 | this.notifier.success(link, $localize`Link copied`) |
99 | } | 99 | } |
100 | } | 100 | } |
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 { | |||
77 | } | 77 | } |
78 | 78 | ||
79 | sendForm () { | 79 | sendForm () { |
80 | const fromName = this.form.value[ 'fromName' ] | 80 | const fromName = this.form.value['fromName'] |
81 | const fromEmail = this.form.value[ 'fromEmail' ] | 81 | const fromEmail = this.form.value['fromEmail'] |
82 | const subject = this.form.value[ 'subject' ] | 82 | const subject = this.form.value['subject'] |
83 | const body = this.form.value[ 'body' ] | 83 | const body = this.form.value['body'] |
84 | 84 | ||
85 | this.instanceService.contactAdministrator(fromEmail, fromName, subject, body) | 85 | this.instanceService.contactAdministrator(fromEmail, fromName, subject, body) |
86 | .subscribe({ | 86 | .subscribe({ |