new version of budget view
This commit is contained in:
@@ -8,6 +8,7 @@ export const useUserStore = defineStore('user', () => {
|
||||
const loadingUser = ref(true);
|
||||
const router = useRouter();
|
||||
const route = useRoute();
|
||||
const settings = ref({"budgetViewVersion": "2"})
|
||||
|
||||
async function fetchUserProfile() {
|
||||
// Убираем проверку на `loadingUser`, чтобы не блокировать запрос
|
||||
@@ -51,5 +52,5 @@ export const useUserStore = defineStore('user', () => {
|
||||
}
|
||||
};
|
||||
|
||||
return {user, loadingUser, fetchUserProfile, login};
|
||||
return {user, loadingUser, fetchUserProfile, login, settings};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user