Fix notifier messages/titles.

This commit is contained in:
John Livingston
2024-06-13 15:01:31 +02:00
parent 63d8e9789e
commit 8dede18070
2 changed files with 3 additions and 3 deletions

View File

@ -193,7 +193,7 @@ export class ChannelEmojisElement extends LivechatElement {
await this.ptTranslate(LOC_ACTION_IMPORT_EMOJIS_INFO)
)
} catch (err: any) {
this.ptNotifier.error(err.toString())
this.ptNotifier.error(err.toString(), await this.ptTranslate(LOC_ERROR))
} finally {
this.actionDisabled = false
}