Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.2.17 #58

Merged
merged 6 commits into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading