diff --git a/src/components/PetCard/PetCard.tsx b/src/components/PetCard/PetCard.tsx index 91ef836..ba103fd 100644 --- a/src/components/PetCard/PetCard.tsx +++ b/src/components/PetCard/PetCard.tsx @@ -38,7 +38,7 @@ export default class PetCard extends React.Component
- Location: {Globals.Expeditions[this.props.pet.location]}
+ Location: {this.props.pet.location.startsWith('E') ? Globals.Expeditions[this.props.pet.location] : this.props.pet.location}
Type: {this.props.pet.type}
diff --git a/src/components/PetCardDialog/PetCardDialog.tsx b/src/components/PetCardDialog/PetCardDialog.tsx index 882fce9..8147fb8 100644 --- a/src/components/PetCardDialog/PetCardDialog.tsx +++ b/src/components/PetCardDialog/PetCardDialog.tsx @@ -31,7 +31,7 @@ export default class PetCardDialog extends React.Component
- Location: {Globals.Expeditions[this.props.selectedPet.location]}
+ Location: {this.props.selectedPet.location.startsWith('E') ? Globals.Expeditions[this.props.selectedPet.location] : this.props.selectedPet.location}
Type: {this.props.selectedPet.type}
Drop Chance: 1/{(this.props.selectedPet.pity/4).toLocaleString()}
Base Pity: {(this.props.selectedPet.pity/2).toLocaleString()} {this.props.selectedPet.location.startsWith('E') ? 'hrs.':''}