focus autocomplete on new tab even if there are workspaces, fixes #3083

pull/255/head
zadam 2022-08-23 22:32:27 +07:00
parent 80dcb45415
commit 09cfaeb9c4
1 changed files with 3 additions and 5 deletions

@ -83,10 +83,8 @@ export default class EmptyTypeWidget extends TypeWidget {
);
}
if (workspaceNotes.length === 0) {
this.$autoComplete
.trigger('focus')
.trigger('select');
}
this.$autoComplete
.trigger('focus')
.trigger('select');
}
}