This commit is contained in:
2020-04-09 13:47:40 +00:00
parent 213aae5620
commit 94666b1698

View File

@@ -55,7 +55,7 @@
<v-list-item link :key="item.index"> <v-list-item link :key="item.index">
<v-list-item-content> <v-list-item-content>
<v-list-item-title <v-list-item-title
@click="openItem" @click="openItem(item)"
v-text="item.name" v-text="item.name"
></v-list-item-title> ></v-list-item-title>
<v-list-item-subtitle>{{ <v-list-item-subtitle>{{
@@ -163,16 +163,13 @@ export default {
methods: { methods: {
openItem(item) { openItem(item) {
console.log("open item", item); window.$gz.eventBus.$emit("openobject", {
type: item.type,
id: item.id
});
}, },
getExcerpt(item) { getExcerpt(item) {
item.info = "***NEW INFO HERE****"; 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() { getDataFromApi() {
let vm = this; let vm = this;
@@ -244,8 +241,6 @@ export default {
loading: false loading: false
}); });
//modify the menu as necessary
//generateMenu(vm);
} }
}) })
.catch(function handleGetDataFromAPIError(error) { .catch(function handleGetDataFromAPIError(error) {