mirror of
https://github.com/davegallant/rfd-fyi.git
synced 2025-08-07 00:58:12 +00:00
Add tips on bottom
This commit is contained in:
@@ -23,7 +23,7 @@ export default {
|
|||||||
this.isLoading = true;
|
this.isLoading = true;
|
||||||
this.fetchDeals();
|
this.fetchDeals();
|
||||||
Mousetrap.bind("/", this.focusSearch, "keyup");
|
Mousetrap.bind("/", this.focusSearch, "keyup");
|
||||||
Mousetrap.bind("r", this.loadDeals);
|
Mousetrap.bind("r", this.fetchDeals);
|
||||||
Mousetrap.bind("escape", this.blurSearch);
|
Mousetrap.bind("escape", this.blurSearch);
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -34,6 +34,7 @@ export default {
|
|||||||
this.$refs.search.blur();
|
this.$refs.search.blur();
|
||||||
},
|
},
|
||||||
fetchDeals() {
|
fetchDeals() {
|
||||||
|
this.isLoading = true;
|
||||||
axios
|
axios
|
||||||
.get("api/v1/topics")
|
.get("api/v1/topics")
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
@@ -170,6 +171,7 @@ export default {
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<footer class="fixed-bottom">
|
<footer class="fixed-bottom">
|
||||||
|
<small>Tip: Press '/' to search and 'r' to reload</small>
|
||||||
<div class="footer-right">
|
<div class="footer-right">
|
||||||
<github-button href="https://github.com/davegallant/rfd-fyi"
|
<github-button href="https://github.com/davegallant/rfd-fyi"
|
||||||
>Star</github-button
|
>Star</github-button
|
||||||
|
Reference in New Issue
Block a user