mirror of
https://github.com/immich-app/immich.git
synced 2025-11-29 02:19:47 +09:00
chore(web): curly braces (#5362)
This commit is contained in:
@@ -9,8 +9,11 @@
|
||||
|
||||
const restoreUser = async () => {
|
||||
const restoredUser = await api.userApi.restoreUser({ id: user.id });
|
||||
if (restoredUser.data.deletedAt == null) dispatch('user-restore-success');
|
||||
else dispatch('user-restore-fail');
|
||||
if (restoredUser.data.deletedAt == null) {
|
||||
dispatch('user-restore-success');
|
||||
} else {
|
||||
dispatch('user-restore-fail');
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user