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