Files
raven-client/ayanova/src/views/ay-open.vue
John Cardinal d0afdd9855 HUGE REFACTOR / CLEANUP
if there is a issue it's probably something in here that was changed
2021-09-28 20:19:44 +00:00

25 lines
631 B
Vue

<template>
<div>📖...</div>
</template>
<script>
//THIS FORM IS USED WHEN CLICKING ON A OPEN URL FROM A NOTIFICATION EMAIL ETC
//it's only ever called from the router directly for certain urls see below
export default {
data() {
return {};
},
created() {
//Capture open object type and id if present
// path: "/open/:ayatype/:recordid",
//vm.$route.params.ayatype
//vm.$route.params.recordid
//{ type: [AYATYPE], id: [RECORDID] }
window.$gz.eventBus.$emit("openobject", {
type: Number(this.$route.params.ayatype),
id: Number(this.$route.params.recordid)
});
}
};
</script>