Remove the cancel button if there is no registered accounts
This commit is contained in:
parent
f93198ebee
commit
ea50c4b65e
1 changed files with 1 additions and 2 deletions
|
@ -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('/');
|
||||
|
|
Loading…
Reference in a new issue