This commit is contained in:
2020-11-26 19:46:52 +00:00
parent f26579103e
commit 649e817086
10 changed files with 75 additions and 33 deletions

View File

@@ -1186,7 +1186,8 @@ async function fetchReportData(vm) {
let res = await window.$gz.api.upsert("report/data", reportDataOptions);
//We never expect there to be no data here
if (!res.hasOwnProperty("data")) {
throw new Error(res);
return Promise.reject(res);
//throw new Error(res);
} else {
vm.reportData = res.data;
}