Correctifs
This commit is contained in:
@@ -72,7 +72,9 @@ export class ListOfJumpsComponent implements OnInit {
|
|||||||
delete(item: JumpResp) {
|
delete(item: JumpResp) {
|
||||||
let data : Array<JumpResp> = this.dataSourceTable.data;
|
let data : Array<JumpResp> = this.dataSourceTable.data;
|
||||||
data = data.filter(d => d.id !== item.id);
|
data = data.filter(d => d.id !== item.id);
|
||||||
|
|
||||||
this.dataSourceTable.data = data;
|
this.dataSourceTable.data = data;
|
||||||
|
this.resultsLength = data.length;
|
||||||
|
|
||||||
this.serviceApi.DeleteJump(item);
|
this.serviceApi.DeleteJump(item);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -96,6 +96,10 @@ export class NewJumpComponent implements OnInit {
|
|||||||
this.isSpecial === undefined ? false : this.isSpecial);
|
this.isSpecial === undefined ? false : this.isSpecial);
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
this.comments = undefined;
|
||||||
|
this.withCutaway = false;
|
||||||
|
this.isSpecial = false;
|
||||||
|
|
||||||
if (this.resetForm === true) {
|
if (this.resetForm === true) {
|
||||||
this.initForm();
|
this.initForm();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user