diff --git a/addon/components/coordinates-input.js b/addon/components/coordinates-input.js index 4240e03..5cc74c4 100644 --- a/addon/components/coordinates-input.js +++ b/addon/components/coordinates-input.js @@ -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); diff --git a/addon/components/modals/import-form.hbs b/addon/components/modals/import-form.hbs index 0a6c708..601c953 100644 --- a/addon/components/modals/import-form.hbs +++ b/addon/components/modals/import-form.hbs @@ -98,5 +98,10 @@ {{/if}} {{/if}} + {{#if @options.onExportTemplate}} +
+ Download Import Template (XLSX) +
+ {{/if}} \ No newline at end of file diff --git a/package.json b/package.json index 7e96e88..8adf2d8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@fleetbase/ember-ui", - "version": "0.2.16", + "version": "0.2.17", "description": "Fleetbase UI provides all the interface components, helpers, services and utilities for building a Fleetbase extension into the Console.", "keywords": [ "fleetbase-ui",