Skip to content

Commit

Permalink
Merge pull request #1505 from cvisionai/dev/settings-bug-fix
Browse files Browse the repository at this point in the history
Remove setting data to null.
  • Loading branch information
ermbutler authored Nov 20, 2023
2 parents 1371601 + 270a052 commit c80a1ac
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ui/src/js/project-settings/components/type-form-template.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ export class TypeFormTemplate extends TatorElement {
} else {
this.modal._success("Nothing new to save!");
}

this.data = null;
}

/**
Expand Down Expand Up @@ -137,8 +135,6 @@ export class TypeFormTemplate extends TatorElement {
data: formData,
};

console.log("Form data", formData);

if (this.typeId == "New" && isArray) {
return await store.getState().addTypeArray(info);
} else if (this.typeId == "New" && !isArray) {
Expand Down

0 comments on commit c80a1ac

Please sign in to comment.