3
0

Fix reporter compose block run failed translation notification

This commit is contained in:
Jože Fortun
2023-03-24 16:07:24 +01:00
parent e0766d488a
commit 222632879d
3 changed files with 4 additions and 4 deletions

View File

@@ -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 {

View File

@@ -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)
})
}
}

View File

@@ -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: