From 29a96ce5faf2ce8f7b0d7b1aa0cd6a6c69d6aa32 Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Sun, 1 Jan 2023 22:42:52 -0500 Subject: [PATCH] Add tips on bottom --- src/App.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/App.vue b/src/App.vue index 8559e0a..d6e6ec0 100644 --- a/src/App.vue +++ b/src/App.vue @@ -23,7 +23,7 @@ export default { this.isLoading = true; this.fetchDeals(); Mousetrap.bind("/", this.focusSearch, "keyup"); - Mousetrap.bind("r", this.loadDeals); + Mousetrap.bind("r", this.fetchDeals); Mousetrap.bind("escape", this.blurSearch); }, methods: { @@ -34,6 +34,7 @@ export default { this.$refs.search.blur(); }, fetchDeals() { + this.isLoading = true; axios .get("api/v1/topics") .then((response) => { @@ -170,6 +171,7 @@ export default {