Skip to content

Commit

Permalink
fixed coordinate input
Browse files Browse the repository at this point in the history
  • Loading branch information
doljko committed Jul 2, 2024
1 parent b26f880 commit 3e27b14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/components/coordinates-input.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export default class CoordinatesInputComponent extends Component {
* @memberof CoordinatesInputComponent
*/
setInitialMapCoordinates() {
const whois = this.currentUser.getOption('whois');
const whois = this.currentUser.getOption('whois', {});

this.mapLat = getWithDefault(whois, 'latitude', DEFAULT_LATITUDE);
this.mapLng = getWithDefault(whois, 'longitude', DEFAULT_LONGITUDE);
Expand Down

0 comments on commit 3e27b14

Please sign in to comment.