This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<v-list>
|
<v-list>
|
||||||
<v-list-item @click="refresh">
|
<v-list-item @click="$emit('dash-refresh', id)">
|
||||||
<v-list-item-icon>
|
<v-list-item-icon>
|
||||||
<v-icon>$ayiSync</v-icon>
|
<v-icon>$ayiSync</v-icon>
|
||||||
</v-list-item-icon>
|
</v-list-item-icon>
|
||||||
@@ -84,9 +84,7 @@ export default {
|
|||||||
moreUrl: String
|
moreUrl: String
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
refresh() {
|
|
||||||
console.log("REFRESH CLICKED");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -69,6 +69,12 @@ export default {
|
|||||||
},
|
},
|
||||||
dashRemove: function(item) {
|
dashRemove: function(item) {
|
||||||
console.log("home-dashboard:dashRemove", item);
|
console.log("home-dashboard:dashRemove", item);
|
||||||
|
},
|
||||||
|
dashRefresh: function(item) {
|
||||||
|
console.log(
|
||||||
|
"home-dashboard:refresh (normally handle @ typed dash control)",
|
||||||
|
item
|
||||||
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
|||||||
Reference in New Issue
Block a user