diff options
Diffstat (limited to 'client/src/app/+about')
4 files changed, 6 insertions, 7 deletions
diff --git a/client/src/app/+about/about-follows/about-follows.component.ts b/client/src/app/+about/about-follows/about-follows.component.ts index 1dcb6396c..a35272681 100644 --- a/client/src/app/+about/about-follows/about-follows.component.ts +++ b/client/src/app/+about/about-follows/about-follows.component.ts | |||
@@ -90,7 +90,7 @@ export class AboutFollowsComponent implements OnInit { | |||
90 | private loadMoreFollowers (reset = false) { | 90 | private loadMoreFollowers (reset = false) { |
91 | const pagination = this.restService.componentPaginationToRestPagination(this.followersPagination) | 91 | const pagination = this.restService.componentPaginationToRestPagination(this.followersPagination) |
92 | 92 | ||
93 | this.followService.getFollowers({ pagination: pagination, sort: this.sort, state: 'accepted' }) | 93 | this.followService.getFollowers({ pagination, sort: this.sort, state: 'accepted' }) |
94 | .subscribe({ | 94 | .subscribe({ |
95 | next: resultList => { | 95 | next: resultList => { |
96 | if (reset) this.followers = [] | 96 | if (reset) this.followers = [] |
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({ |
diff --git a/client/src/app/+about/about-routing.module.ts b/client/src/app/+about/about-routing.module.ts index 3974231e3..cf5570d31 100644 --- a/client/src/app/+about/about-routing.module.ts +++ b/client/src/app/+about/about-routing.module.ts | |||
@@ -3,7 +3,6 @@ import { RouterModule, Routes } from '@angular/router' | |||
3 | import { AboutFollowsComponent } from '@app/+about/about-follows/about-follows.component' | 3 | import { AboutFollowsComponent } from '@app/+about/about-follows/about-follows.component' |
4 | import { AboutInstanceComponent } from '@app/+about/about-instance/about-instance.component' | 4 | import { AboutInstanceComponent } from '@app/+about/about-instance/about-instance.component' |
5 | import { AboutInstanceResolver } from '@app/+about/about-instance/about-instance.resolver' | 5 | import { AboutInstanceResolver } from '@app/+about/about-instance/about-instance.resolver' |
6 | import { ContactAdminModalComponent } from '@app/+about/about-instance/contact-admin-modal.component' | ||
7 | import { AboutPeertubeComponent } from '@app/+about/about-peertube/about-peertube.component' | 6 | import { AboutPeertubeComponent } from '@app/+about/about-peertube/about-peertube.component' |
8 | import { AboutComponent } from './about.component' | 7 | import { AboutComponent } from './about.component' |
9 | 8 | ||