Skip to content

Commit

Permalink
Merge pull request #58 from fleetbase/dev-v0.2.17
Browse files Browse the repository at this point in the history
v0.2.17
  • Loading branch information
roncodes authored Jul 2, 2024
2 parents b26f880 + fd4b859 commit eb71b0f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
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
5 changes: 5 additions & 0 deletions addon/components/modals/import-form.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,10 @@
{{/if}}
{{/if}}

{{#if @options.onExportTemplate}}
<div class="pt-4">
<a onClick={{@options.onExportTemplate}} download="true" class="text-blue-500 hover:text-blue-400">Download Import Template (XLSX)</a>
</div>
{{/if}}
</div>
</Modal::Default>
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit eb71b0f

Please sign in to comment.