new version of budget view

This commit is contained in:
xds
2025-02-11 13:46:30 +03:00
parent 98f3d4baa4
commit 8d8b1df4ed
7 changed files with 1140 additions and 8 deletions

View File

@@ -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};
});