Skip to content

Commit

Permalink
Update reset bis response order to not send empty list bis
Browse files Browse the repository at this point in the history
  • Loading branch information
RodolfoAndre committed Oct 28, 2024
1 parent 402cf07 commit 37fd8d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export class AddBestInSlotDialogComponent {
onSearch() {

if (this.selectedOption && this.selectedOption == "html") {
this.selectedOption = "ID";
this.selectedOption = "id";
this.inputValue = this.getIdsFromHtmlTable(this.inputValue);
}
let searchRequest: SearchRequest = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ export class BestInSlotManagerComponent {
}

onSave() {
this.equipments.length = 0;
if (this.selectedSpecialization) {
let request : BestsInSlotsRequest = {
id: this.bis?.id,
Expand All @@ -141,6 +140,7 @@ export class BestInSlotManagerComponent {
}
});
}
this.equipments.length = 0;
}

private getItemsIdsArray(): number[] {
Expand Down

0 comments on commit 37fd8d1

Please sign in to comment.