This commit is contained in:
2021-12-23 19:42:50 +00:00
parent 427e8c0242
commit d46ef8863f
2 changed files with 4 additions and 3 deletions

View File

@@ -285,7 +285,7 @@ export default {
"AyaType", "AyaType",
"Now", "Now",
"DateRangeToday", "DateRangeToday",
"ReportRenderAtCapacity" "ReportRenderTimeOut"
], ],
//////////////////////////////////////////////////////// ////////////////////////////////////////////////////////

View File

@@ -112,11 +112,12 @@ export default {
this.reject(res); this.reject(res);
} else { } else {
//special handling for busy response meaning no render slots available at the server //special handling for busy response meaning no render slots available at the server
this is the error Ok(ApiOkResponse.Response(new { timeout = true, timeoutconfig = ServerBootConfig.AYANOVA_REPORT_RENDERING_TIMEOUT })); //this is the error Ok(ApiOkResponse.Response(new { timeout = true, timeoutconfig = ServerBootConfig.AYANOVA_REPORT_RENDERING_TIMEOUT }));
// return Ok(ApiOkResponse.Response(new { timeout = true, timeoutconfig = ServerBootConfig.AYANOVA_REPORT_RENDERING_TIMEOUT }));
if (res.data && res.data.busy) { if (res.data && res.data.busy) {
window.$gz.eventBus.$emit( window.$gz.eventBus.$emit(
"notify-warning", "notify-warning",
window.$gz.translation.get("ReportRenderAtCapacity"), window.$gz.translation.get("ReportRenderTimeOut"),
`${this.$store.state.helpUrl}/ay-report-busy` `${this.$store.state.helpUrl}/ay-report-busy`
); );
} else { } else {