Skip to content

Commit

Permalink
BCMOHAM-21446- Update LWC to fix issue with LWC not populating results
Browse files Browse the repository at this point in the history
  • Loading branch information
lilianenassar-bib committed Dec 19, 2024
1 parent 26d83f4 commit 5c5d178
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const columns = [

export default class ShowRegulatoryViolationRecords extends OmniscriptBaseMixin(NavigationMixin(LightningElement)) {
@api recordId;
@api Questions1JSON;
@api questions1json;
@track error;
showSpinner = false;
columns = columns;
Expand Down Expand Up @@ -95,8 +95,8 @@ export default class ShowRegulatoryViolationRecords extends OmniscriptBaseMixin(
@wire(getRecords, { recordId: '$recordId', pickList: '$pickListOptions', pickList: '$severityOptions' } )
wiredCallback(result) {
this._wiredResult = result;
if(this.Questions1JSON) {
const data = this.Questions1JSON;
if(this.questions1json) {
const data = this.questions1json;
let rcvParsedData = JSON.parse(JSON.stringify(data));
if(rcvParsedData.length > 0) {
rcvParsedData.forEach(rcv => {
Expand Down

0 comments on commit 5c5d178

Please sign in to comment.