This commit is contained in:
@@ -55,7 +55,7 @@
|
||||
<v-list-item link :key="item.index">
|
||||
<v-list-item-content>
|
||||
<v-list-item-title
|
||||
@click="openItem"
|
||||
@click="openItem(item)"
|
||||
v-text="item.name"
|
||||
></v-list-item-title>
|
||||
<v-list-item-subtitle>{{
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user