Skip to content

Commit

Permalink
minor changes in service Recs and changing initial client email api n…
Browse files Browse the repository at this point in the history
…umber
  • Loading branch information
AIrwin33 committed Jul 15, 2020
1 parent bfd50b6 commit 6fb8f56
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<EmailTemplate xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>49.0</apiVersion>
<apiVersion>48.0</apiVersion>
<available>true</available>
<description>Initial message sent to client for a service referral - sent by text</description>
<encodingKey>ISO-8859-1</encodingKey>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,16 @@ export default class ServiceRecommendations extends LightningElement {
marker.description = result[i].Service.Description__c;
this.mapMarkers.push(marker);
}
if(result[i].Rating === undefined){
result[i].Rating = Math.floor(Math.random() * 6);
}

}

if(this.showRecommendations === false ){
this.showRecommendations = !this.showRecommendations;
}
window.console.log('showResult' + JSON.stringify(showResult));

showResult.sort((a,b)=>{

return (a.Relevance < b.Relevance) ? 1 : -1
})
this.unfilteredRecommendations = showResult;
this.returnRecommendations = showResult;
this.returnHiddenRecommendations = hiddenResult;
Expand Down

0 comments on commit 6fb8f56

Please sign in to comment.