From b4a2750cbb0d87a437b9969085ca63108db669ac Mon Sep 17 00:00:00 2001 From: Doljinsuren Enkhbayar Date: Fri, 31 May 2024 12:40:47 +0800 Subject: [PATCH 1/4] added template export --- addon/components/modals/import-form.hbs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/addon/components/modals/import-form.hbs b/addon/components/modals/import-form.hbs index 0a6c708..75bf249 100644 --- a/addon/components/modals/import-form.hbs +++ b/addon/components/modals/import-form.hbs @@ -98,5 +98,11 @@ {{/if}} {{/if}} + {{#if @options.onExportTemplate}} +
+ Download Import Template (XLSX) +
+ {{/if}} + \ No newline at end of file From 3e27b142fa7b0835a30a10d0f5ea13c811e75890 Mon Sep 17 00:00:00 2001 From: Doljinsuren Enkhbayar Date: Tue, 2 Jul 2024 10:45:52 +0800 Subject: [PATCH 2/4] fixed coordinate input --- addon/components/coordinates-input.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); From b6cda994dafbd5058e35b56fa9d0e1d66531a6f7 Mon Sep 17 00:00:00 2001 From: "Ronald A. Richardson" Date: Tue, 2 Jul 2024 14:06:42 +0800 Subject: [PATCH 3/4] preparing next release --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", From fd4b8598d2f80bc8e5ad8bebaafa931c8adab231 Mon Sep 17 00:00:00 2001 From: "Ronald A. Richardson" Date: Tue, 2 Jul 2024 14:11:38 +0800 Subject: [PATCH 4/4] minor patches for releases --- addon/components/modals/import-form.hbs | 1 - 1 file changed, 1 deletion(-) diff --git a/addon/components/modals/import-form.hbs b/addon/components/modals/import-form.hbs index 75bf249..601c953 100644 --- a/addon/components/modals/import-form.hbs +++ b/addon/components/modals/import-form.hbs @@ -103,6 +103,5 @@ Download Import Template (XLSX) {{/if}} - \ No newline at end of file