[pretty] prettier
This commit is contained in:
parent
29f1b45a3d
commit
a974d2d245
|
@ -26,7 +26,7 @@ export default defineComponent({
|
|||
|
||||
async function updateUser(value: FG.User) {
|
||||
await userStore.updateUser(value);
|
||||
user.value = value
|
||||
user.value = value;
|
||||
}
|
||||
|
||||
return {
|
||||
|
|
|
@ -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({
|
||||
|
|
Loading…
Reference in New Issue