Revert "v0.2.1 (#157)" (#158)

This reverts commit a899f46464.
This commit is contained in:
Hayden
2021-02-10 19:39:46 -09:00
committed by GitHub
parent a899f46464
commit 8221c36a89
82 changed files with 895 additions and 937 deletions

View File

@@ -1,4 +1,4 @@
import api from "@/api";
import api from "../../api";
const state = {
showRecent: true,
@@ -30,10 +30,10 @@ const actions = {
};
const getters = {
getShowRecent: state => state.showRecent,
getShowLimit: state => state.showLimit,
getCategories: state => state.categories,
getHomeCategories: state => state.homeCategories,
getShowRecent: (state) => state.showRecent,
getShowLimit: (state) => state.showLimit,
getCategories: (state) => state.categories,
getHomeCategories: (state) => state.homeCategories,
};
export default {

View File

@@ -1,4 +1,4 @@
import api from "@/api";
import api from "../../api";
import Vuetify from "../../plugins/vuetify";
function inDarkMode(payload) {
@@ -60,9 +60,9 @@ const actions = {
};
const getters = {
getActiveTheme: state => state.activeTheme,
getDarkMode: state => state.darkMode,
getIsDark: state => state.isDark,
getActiveTheme: (state) => state.activeTheme,
getDarkMode: (state) => state.darkMode,
getIsDark: (state) => state.isDark,
};
export default {

View File

@@ -1,6 +1,6 @@
import Vue from "vue";
import Vuex from "vuex";
import api from "@/api";
import api from "../api";
import createPersistedState from "vuex-persistedstate";
import userSettings from "./modules/userSettings";
import language from "./modules/language";
@@ -64,11 +64,11 @@ const store = new Vuex.Store({
getters: {
//
getSnackText: state => state.snackText,
getSnackActive: state => state.snackActive,
getSnackType: state => state.snackType,
getSnackText: (state) => state.snackText,
getSnackActive: (state) => state.snackActive,
getSnackType: (state) => state.snackType,
getRecentRecipes: state => state.recentRecipes,
getRecentRecipes: (state) => state.recentRecipes,
},
});