Skip to content

Commit

Permalink
feat: iris-connect#77 changes var to let
Browse files Browse the repository at this point in the history
  • Loading branch information
SWlionmint committed May 12, 2021
1 parent cf09440 commit c5a67e6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default class EventTrackingDetailsLocationInfo extends EventTrackingDetai
}
get locationAddress(): Array<string> {
const address: LocationAddress = this.location?.contact?.address;
var officalName;
let officalName;
if(this.location?.contact?.officialName) {
officalName = "(" + this.location?.contact?.officialName + ")";
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const EventTrackingFormLocationInfoProps = Vue.extend({
@Component
export default class EventTrackingFormLocationInfo extends EventTrackingFormLocationInfoProps {
get locationName(): Array<string> {
var officalName;
let officalName;
if(this.location?.contact?.officialName) {
officalName = "(" + this.location?.contact?.officialName + ")";
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export default class EventTrackingFormLocationSelect extends EventTrackingFormLo
get locationRows(): LocationInformationTableRow[] {
return (this.locations || []).map((location) => {
const { name, contact } = location;
var combinedName = name;
let combinedName = name;
if(contact.officialName) {
combinedName += "\n(" + contact.officialName + ")";
}
Expand Down

0 comments on commit c5a67e6

Please sign in to comment.