Correctifs

This commit is contained in:
Sébastien André
2021-04-23 16:19:49 +02:00
parent 0d136a938a
commit 14d436b99f
2 changed files with 6 additions and 0 deletions

View File

@@ -72,7 +72,9 @@ export class ListOfJumpsComponent implements OnInit {
delete(item: JumpResp) {
let data : Array<JumpResp> = this.dataSourceTable.data;
data = data.filter(d => d.id !== item.id);
this.dataSourceTable.data = data;
this.resultsLength = data.length;
this.serviceApi.DeleteJump(item);
}

View File

@@ -96,6 +96,10 @@ export class NewJumpComponent implements OnInit {
this.isSpecial === undefined ? false : this.isSpecial);
setTimeout(() => {
this.comments = undefined;
this.withCutaway = false;
this.isSpecial = false;
if (this.resetForm === true) {
this.initForm();
}