diff options
author | Chocobozzz <me@florianbigard.com> | 2022-05-24 09:19:03 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-05-24 09:19:03 +0200 |
commit | 3329325a64c21067a598ea42a5c7eb0c489aedea (patch) | |
tree | 5a6936f3699d3a66e4898a2cd0860ab051216971 | |
parent | a65858746c1d2904bf117e8d91816e752d4b94c4 (diff) | |
download | PeerTube-3329325a64c21067a598ea42a5c7eb0c489aedea.tar.gz PeerTube-3329325a64c21067a598ea42a5c7eb0c489aedea.tar.zst PeerTube-3329325a64c21067a598ea42a5c7eb0c489aedea.zip |
Fix email action button label for reports
-rw-r--r-- | server/lib/notifier/shared/abuse/abstract-new-abuse-message.ts | 2 | ||||
-rw-r--r-- | server/lib/notifier/shared/abuse/abuse-state-change-for-reporter.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/notifier/shared/abuse/abstract-new-abuse-message.ts b/server/lib/notifier/shared/abuse/abstract-new-abuse-message.ts index 1425c38ec..daefa25bd 100644 --- a/server/lib/notifier/shared/abuse/abstract-new-abuse-message.ts +++ b/server/lib/notifier/shared/abuse/abstract-new-abuse-message.ts | |||
@@ -39,7 +39,7 @@ export abstract class AbstractNewAbuseMessage extends AbstractNotification <NewA | |||
39 | : WEBSERVER.URL + '/my-account/abuses?search=%23' + this.abuse.id | 39 | : WEBSERVER.URL + '/my-account/abuses?search=%23' + this.abuse.id |
40 | 40 | ||
41 | const action = { | 41 | const action = { |
42 | text, | 42 | text: 'View report #' + this.abuse.id, |
43 | url: abuseUrl | 43 | url: abuseUrl |
44 | } | 44 | } |
45 | 45 | ||
diff --git a/server/lib/notifier/shared/abuse/abuse-state-change-for-reporter.ts b/server/lib/notifier/shared/abuse/abuse-state-change-for-reporter.ts index 968b5bca9..d92f7a13b 100644 --- a/server/lib/notifier/shared/abuse/abuse-state-change-for-reporter.ts +++ b/server/lib/notifier/shared/abuse/abuse-state-change-for-reporter.ts | |||
@@ -51,7 +51,7 @@ export class AbuseStateChangeForReporter extends AbstractNotification <MAbuseFul | |||
51 | const abuseUrl = WEBSERVER.URL + '/my-account/abuses?search=%23' + this.abuse.id | 51 | const abuseUrl = WEBSERVER.URL + '/my-account/abuses?search=%23' + this.abuse.id |
52 | 52 | ||
53 | const action = { | 53 | const action = { |
54 | text, | 54 | text: 'View report #' + this.abuse.id, |
55 | url: abuseUrl | 55 | url: abuseUrl |
56 | } | 56 | } |
57 | 57 | ||