Fix missing unsubscribe string in answer actions when posting a comment

This commit is contained in:
Karina Kwiatek 2022-10-26 11:32:39 +02:00
parent 16ac195ab9
commit 29608c54c9
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,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);