diff --git a/src/App.vue b/src/App.vue index d6e6ec0..5fee605 100644 --- a/src/App.vue +++ b/src/App.vue @@ -19,7 +19,8 @@ export default { }, mounted() { this.sortColumn = localStorage.getItem("sortColumn") || "score"; - this.ascending = localStorage.getItem("ascending") || true; + this.ascending = + localStorage.getItem("ascending") === "false" ? false : true; this.isLoading = true; this.fetchDeals(); Mousetrap.bind("/", this.focusSearch, "keyup");