feature/favorite-recipes (#443)

* add favorites options

* bump dependencies

* add badges to all cards

* typo

* remove console.log

* fix site-loader viewport

Co-authored-by: hay-kot <hay-kot@pm.me>
This commit is contained in:
Hayden
2021-05-29 15:54:18 -08:00
committed by GitHub
parent 57f7ea3750
commit 6f38fcf81b
38 changed files with 365 additions and 82 deletions

View File

@@ -87,8 +87,7 @@ export default {
this.clear();
this.$store.commit("setToken", response.data.access_token);
this.$emit("logged-in");
let user = await api.users.self();
this.$store.commit("setUserData", user);
this.$store.dispatch("requestUserData");
}
this.loading = false;