diff --git a/packages/renderer/src/ui/preference-view/cloud-view.vue b/packages/renderer/src/ui/preference-view/cloud-view.vue index 896f2e8d..6f26c179 100644 --- a/packages/renderer/src/ui/preference-view/cloud-view.vue +++ b/packages/renderer/src/ui/preference-view/cloud-view.vue @@ -47,7 +47,7 @@ const onMigrateClicked = () => { }; window.appInteractor.getPassword("realmSync").then((password) => { - syncPassword.value = password as string; + syncPassword.value = password ? (password as string) : ""; }); // =============================================================================