diff --git a/src/views/AddAccountView.vue b/src/views/AddAccountView.vue index 244ca6e..6c639d7 100644 --- a/src/views/AddAccountView.vue +++ b/src/views/AddAccountView.vue @@ -54,8 +54,7 @@ const addAccount = () => { // Cancel button const cancellDisabled = computed(() => { - // TODO: return true if there is no account in the local storage - return false; + return !accounts.value.length; }); const toMainView = () => { return router.push('/');