[pretty] prettier

This commit is contained in:
Tim Gröger 2021-11-15 22:52:25 +01:00
parent 29f1b45a3d
commit a974d2d245
2 changed files with 4 additions and 2 deletions

View File

@ -26,7 +26,7 @@ export default defineComponent({
async function updateUser(value: FG.User) {
await userStore.updateUser(value);
user.value = value
user.value = value;
}
return {

View File

@ -139,7 +139,9 @@ export default defineComponent({
const isCurrentUser = computed(() => userModel.value.userid === mainStore.currentUser.userid);
/* Reset model if props changed */
watchEffect(() => {if(props.user.userid && props.user.userid !== userModel.value.userid) reset()})
watchEffect(() => {
if (props.user.userid && props.user.userid !== userModel.value.userid) reset();
});
function onAvatarRejected() {
Notify.create({