Skip to content

Commit

Permalink
Merge b2c79ee into feature/ldv-2
Browse files Browse the repository at this point in the history
  • Loading branch information
salesforce-org-metaci[bot] authored Nov 17, 2023
2 parents 9d18963 + b2c79ee commit d21e03e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Salesforce / SFDX / CCI
.cci
.sfdx
.sf
/src.orig
/src

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,10 @@ export default class BulkServiceDeliveryUI extends NavigationMixin(LightningElem
return "error";
}

get isSaveDisabled() {
return this.isSaving;
}

addDelivery() {
let serviceDelivery = {
index: this._nextIndex,
Expand Down Expand Up @@ -221,9 +225,9 @@ export default class BulkServiceDeliveryUI extends NavigationMixin(LightningElem
// eslint-disable-next-line no-unused-vars
handleRowError(event) {
this.errorCount++;

if (this.savingComplete()) {
this.showSaveSummaryToast();
this.isSaving = false;
}
}

Expand All @@ -241,6 +245,7 @@ export default class BulkServiceDeliveryUI extends NavigationMixin(LightningElem
}
if (row.isDirty) {
this.currentSaveCount++;
this.isSaving = true;
}
row.saveRow();
});
Expand All @@ -256,6 +261,7 @@ export default class BulkServiceDeliveryUI extends NavigationMixin(LightningElem

if (this.savingComplete()) {
this.showSaveSummaryToast();
this.isSaving = false;
}

if (this.savedCount === this.targetSaveCount) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,8 @@ export default class ServiceScheduleCreator extends NavigationMixin(LightningEle
this.navigate();
} else {
this.init();
this.dispatchEvent(new CustomEvent("close", { bubbles: true }));
}
this.dispatchEvent(new CustomEvent("close", { bubbles: true }));
}

reset() {
Expand Down

0 comments on commit d21e03e

Please sign in to comment.