Fix improper escape.

This commit is contained in:
James Cole
2023-01-15 17:05:21 +01:00
parent f2251d7bfa
commit afd3fd9f88
4 changed files with 4 additions and 4 deletions

View File

@@ -290,7 +290,7 @@ export default {
let button = $('#triggerButton');
button.prop('disabled', true).addClass('disabled');
this.success_message = this.$t('firefly.webhook_was_triggered');
this.success_message = $.text(this.$t('firefly.webhook_was_triggered'));
// TODO actually trigger the webhook.
axios.post('./api/v1/webhooks/' + this.id + '/trigger-transaction/' + journalId, {});
button.prop('disabled', false).removeClass('disabled');