This commit is contained in:
2020-09-14 17:38:30 +00:00
parent d574fef3fa
commit 8aabc0f4fe
4 changed files with 28 additions and 4 deletions

View File

@@ -335,7 +335,9 @@ export default {
//check if it's an open report link and if so
//trigger that to open in a new window and continue on to normal home page
if (toPath.startsWith("/viewreport")) {
alert("stub: open report");
(async function() {
await window.$gz.api.renderReport(1, 1); //objectid,reportid
})();
vm.$router.push(vm.$store.state.homePage);
} else {
//otherwise open the url indicated