Merge pull request #767 from Retrospring/fix/missing-unsubscribe-text-on-comment

Fix missing unsubscribe string in answer actions when posting a comment
This commit is contained in:
Karina Kwiatek 2022-10-26 11:37:38 +02:00 committed by GitHub
commit d3b59ae169
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ export function commentCreateHandler(event: KeyboardEvent): boolean {
const sub = document.querySelector<HTMLElement>(`[data-action=ab-submarine][data-a-id="${id}"]`);
sub.dataset.torpedo = "no"
sub.children[0].nextSibling.textContent = ' ' + I18n.translate('views.actions.unsubscribe');
sub.children[0].nextSibling.textContent = ' ' + I18n.translate('voc.unsubscribe');
}
showNotification(data.message, data.success);