Skip to content

Commit 759ec82

Browse files
committed
#164 remove console.log
1 parent fea91db commit 759ec82

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

force-app/main/default/lwc/lwcRelatedList/lwcRelatedList.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ export default class LwcDatatable extends NavigationMixin(LightningElement(Light
9090
})
9191
.then((data) => {
9292
if (data) {
93-
//console.log("return data:::", data);
9493
const { records, cols, count, iconName } = formatData(
9594
this,
9695
data
@@ -128,22 +127,19 @@ export default class LwcDatatable extends NavigationMixin(LightningElement(Light
128127
//on save. This will enable inline editing &
129128
//show standard cancel & save button
130129
copyDraftValues.forEach(item => {
131-
console.log(item);
132130
if (item.Id === updateItem.Id) {
133131
item[fieldName] = updateItem[fieldName];
134132

135133
draftValueChanged = true;
136134
}
137135
});
138-
139-
console.log(draftValueChanged);
136+
140137
if (draftValueChanged) {
141138
this.draftValues = [...copyDraftValues];
142139
} else {
143140
this.draftValues = [...copyDraftValues, updateItem];
144141
}
145142

146-
console.log()
147143
}
148144

149145
fetchRecords() {

0 commit comments

Comments
 (0)