mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-21 13:35:12 +00:00
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/604 Closes #626 Approved-by: fEmber <acomputerdog@gmail.com> Approved-by: Marie <github@yuugi.dev> Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
This commit is contained in:
commit
971795c3b8
2 changed files with 3 additions and 3 deletions
|
@ -98,9 +98,9 @@ export class AbuseReportService {
|
|||
const shouldForward = paramsMap.get(report.id)!.forward;
|
||||
|
||||
if (shouldForward && report.targetUserHost != null) {
|
||||
return targetUserMap.set(report.id, await this.usersRepository.findOneByOrFail({ id: report.targetUserId }));
|
||||
targetUserMap.set(report.id, await this.usersRepository.findOneByOrFail({ id: report.targetUserId }));
|
||||
} else {
|
||||
return targetUserMap.set(report.id, null);
|
||||
targetUserMap.set(report.id, null);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
<MkSpacer :contentMax="900">
|
||||
<div :class="$style.root" class="_gaps">
|
||||
<div :class="$style.subMenus" class="_gaps">
|
||||
<MkButton link to="/admin/abuse-report-notification-recipient" primary>{{ "通知設定" }}</MkButton>
|
||||
<MkButton link to="/admin/abuse-report-notification-recipient" primary>{{ i18n.ts.notificationSetting }}</MkButton>
|
||||
</div>
|
||||
|
||||
<div :class="$style.inputs" class="_gaps">
|
||||
|
|
Loading…
Reference in a new issue