mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-29 02:30:03 +00:00
fix: project creation wrong check for existing
This commit is contained in:
parent
aca67925c2
commit
7fcefb8da5
1 changed files with 2 additions and 1 deletions
|
|
@ -70,7 +70,8 @@
|
|||
|
||||
this.createNewFromCurrent = (projectTitle) => {
|
||||
const projects = this.getListWithLsData();
|
||||
if (projects) {
|
||||
|
||||
if (projects && projects.length > 0) {
|
||||
SimpleToast('ERROR', 'ERROR: There is already a project');
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue