Correctifs
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user