Add tips on bottom

This commit is contained in:
Dave Gallant
2023-01-01 22:42:52 -05:00
parent 4fad0b6aee
commit 29a96ce5fa

View File

@@ -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 {
</tbody>
</table>
<footer class="fixed-bottom">
<small>Tip: Press '/' to search and 'r' to reload</small>
<div class="footer-right">
<github-button href="https://github.com/davegallant/rfd-fyi"
>Star</github-button