Skip to content

Commit

Permalink
feat: fix form URL protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
pozil committed Apr 5, 2024
1 parent e612a66 commit 71fb266
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion force-app/main/default/lwc/starRating/starRating.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default class StarRating extends LightningElement {
return this._formUrl;
}
set formUrl(value) {
this._formUrl = value;
this._formUrl = (value?.startWith('http://') || value?.startWith('https://')) ? value : `https://${value}`;
this.generateStars();
}

Expand Down

0 comments on commit 71fb266

Please sign in to comment.