Merge branch 'master' of kvacek.cz:poletani.cz/app into ssr

This commit is contained in:
Michal Kváček
2023-11-21 16:27:49 +01:00
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -1,5 +1,4 @@
import {computed, ref} from "vue";
import {photoAspectRatio} from "src/composables/photos/editor/photo";
import {ref} from "vue";
export const compare = ref(false);
+1 -1
View File
@@ -48,7 +48,7 @@ export const useUserStore = defineStore('LoggedUser', () => {
const login = async (formData) => {
return api.post("/login", formData).then(({data}) => {
setTokens(data);
this.user = data.user;
user.value = data.user;
})
};