diff options
Diffstat (limited to 'client/src/app/+about')
-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 | 2 |
2 files changed, 2 insertions, 2 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 4a63f5e38..a5204de27 100644 --- a/client/src/app/+about/about-instance/about-instance.component.ts +++ b/client/src/app/+about/about-instance/about-instance.component.ts | |||
@@ -11,7 +11,7 @@ import { MarkdownService } from '@app/shared/renderer' | |||
11 | styleUrls: [ './about-instance.component.scss' ] | 11 | styleUrls: [ './about-instance.component.scss' ] |
12 | }) | 12 | }) |
13 | export class AboutInstanceComponent implements OnInit { | 13 | export class AboutInstanceComponent implements OnInit { |
14 | @ViewChild('contactAdminModal') contactAdminModal: ContactAdminModalComponent | 14 | @ViewChild('contactAdminModal', { static: true }) contactAdminModal: ContactAdminModalComponent |
15 | 15 | ||
16 | shortDescription = '' | 16 | shortDescription = '' |
17 | descriptionHTML = '' | 17 | descriptionHTML = '' |
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 c609c98c3..878d49b55 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 | |||
@@ -13,7 +13,7 @@ import { InstanceService } from '@app/shared/instance/instance.service' | |||
13 | styleUrls: [ './contact-admin-modal.component.scss' ] | 13 | styleUrls: [ './contact-admin-modal.component.scss' ] |
14 | }) | 14 | }) |
15 | export class ContactAdminModalComponent extends FormReactive implements OnInit { | 15 | export class ContactAdminModalComponent extends FormReactive implements OnInit { |
16 | @ViewChild('modal') modal: NgbModal | 16 | @ViewChild('modal', { static: true }) modal: NgbModal |
17 | 17 | ||
18 | error: string | 18 | error: string |
19 | 19 | ||