Skip to content

Commit

Permalink
fix relted list
Browse files Browse the repository at this point in the history
  • Loading branch information
shliachtx committed Jun 8, 2020
1 parent ccfb38a commit 50e701d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@

_No warranty is provided, express or implied_

[Install unlocked package](https://login.salesforce.com/packaging/installPackage.apexp?p0=04t6g000008SZzRAAW) version 0.9.0
[Install unlocked package](https://login.salesforce.com/packaging/installPackage.apexp?p0=04t6g000008SZzWAAW) version 0.10.0

## Release Notes
### 0.9.0
### 0.10.0
- Change live data updates to use PushTopic
### 0.8.0
- Add support for Change Data Capture.
Expand Down
2 changes: 1 addition & 1 deletion force-app/main/default/lwc/relatedList/relatedList.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default class RelatedList extends LightningElement {
}

get parentRelationship() {
if (this.childRecordField && typeof this.parentRecordField !== undefined) {
if (this.childRecordField && typeof this.parentRecordId !== undefined) {
return `${this.childRecordField}='${this.parentRecordId}'`;
}
return "";
Expand Down
3 changes: 2 additions & 1 deletion sfdx-project.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"[email protected]": "04t6g000004OWs4AAG",
"[email protected]": "04t6g000008fW6kAAE",
"[email protected]": "04t6g000008SZyYAAW",
"[email protected]": "04t6g000008SZzRAAW"
"[email protected]": "04t6g000008SZzRAAW",
"[email protected]": "04t6g000008SZzWAAW"
}
}

0 comments on commit 50e701d

Please sign in to comment.