From 222632879df2a4bd0d30d6c738b199e992a5afaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C5=BEe=20Fortun?= Date: Fri, 24 Mar 2023 16:07:24 +0100 Subject: [PATCH] Fix reporter compose block run failed translation notification --- client/web/compose/src/components/PageBlocks/Report/Base.vue | 2 +- client/web/reporter/src/components/Report/Blocks/index.vue | 4 ++-- locale/en/corteza-webapp-reporter/notification.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/web/compose/src/components/PageBlocks/Report/Base.vue b/client/web/compose/src/components/PageBlocks/Report/Base.vue index c8ca95719..ba3114e31 100644 --- a/client/web/compose/src/components/PageBlocks/Report/Base.vue +++ b/client/web/compose/src/components/PageBlocks/Report/Base.vue @@ -105,7 +105,7 @@ export default { dataframes, } }).catch((e) => { - this.toastErrorHandler(this.$t('notification:report.run-failed'))(e) + this.toastErrorHandler(this.$t('notification:report.runFailed'))(e) }) } } else { diff --git a/client/web/reporter/src/components/Report/Blocks/index.vue b/client/web/reporter/src/components/Report/Blocks/index.vue index 8e7db89c7..0017f89a0 100644 --- a/client/web/reporter/src/components/Report/Blocks/index.vue +++ b/client/web/reporter/src/components/Report/Blocks/index.vue @@ -213,7 +213,7 @@ export default { return { ...element, dataframes } }) }).catch((e) => { - this.toastErrorHandler(this.$t('notification:report.run-failed'))(e) + this.toastErrorHandler(this.$t('notification:report.runFailed'))(e) }).finally(() => { this.processing = false }) @@ -241,7 +241,7 @@ export default { .then(({ frames = [] }) => { this.block.elements.find(({ elementID }) => elementID === element.elementID).dataframes = frames }).catch((e) => { - this.toastErrorHandler(this.$t('notification:report.run-failed'))(e) + this.toastErrorHandler(this.$t('notification:report.runFailed'))(e) }) } } diff --git a/locale/en/corteza-webapp-reporter/notification.yaml b/locale/en/corteza-webapp-reporter/notification.yaml index 36e785f1e..9bf2a0cfe 100644 --- a/locale/en/corteza-webapp-reporter/notification.yaml +++ b/locale/en/corteza-webapp-reporter/notification.yaml @@ -18,7 +18,7 @@ report: deleteFailed: Failed to delete report fetchFailed: Failed to fetch report listFetchFailed: Failed to fetch reports - run-failed: Failed to run report + runFailed: Failed to run report updateFailed: Failed to update report updated: Report updated notAllowed: