This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user