From 94666b16987e94de3f103b60421df463ada99342 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 9 Apr 2020 13:47:40 +0000 Subject: [PATCH] --- ayanova/src/views/home-search.vue | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/ayanova/src/views/home-search.vue b/ayanova/src/views/home-search.vue index 8f4487e0..92d4679a 100644 --- a/ayanova/src/views/home-search.vue +++ b/ayanova/src/views/home-search.vue @@ -55,7 +55,7 @@ {{ @@ -163,16 +163,13 @@ export default { methods: { openItem(item) { - console.log("open item", item); + window.$gz.eventBus.$emit("openobject", { + type: item.type, + id: item.id + }); }, getExcerpt(item) { item.info = "***NEW INFO HERE****"; - - // let v = this.results[i]; - // console.log("getExcerpt results before:", this.results[i].info); - // v.info = "NEW INFO HERE"; - // console.log("getExcerpt v after:", this.results[i].info); - // Vue.set(this.results, i, v); }, getDataFromApi() { let vm = this; @@ -244,8 +241,6 @@ export default { loading: false }); - //modify the menu as necessary - //generateMenu(vm); } }) .catch(function handleGetDataFromAPIError(error) {