We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31aec19 commit cbc83edCopy full SHA for cbc83ed
src/model/model.js
@@ -44,7 +44,7 @@ export class UserDataModel extends Listener {
44
this._tasks.push(newTask);
45
46
//logic to push to project array as well
47
- if (projectState == 'inbox') {
+ if (projectState !== 'inbox') {
48
for (let i = 0; i < this._projects.length; i++) {
49
if (projectState === this._projects[i].id) {
50
this._projects[i].tasks = newTask;
0 commit comments