workJob {{j.id}} - {{ j.location[0].toPrecision(8) }}, {{ j.location[1].toPrecision(8)}}
workJob {{j.id}} - {{ j.location[0].toPrecision(8) }}, {{ j.location[1].toPrecision(8)}}
diff --git a/src/fragments/forms/map-form/components/optimization/components/item-list/job-list.js b/src/fragments/forms/map-form/components/optimization/components/item-list/job-list.js
index 236b40e7b..d0dd90d98 100644
--- a/src/fragments/forms/map-form/components/optimization/components/item-list/job-list.js
+++ b/src/fragments/forms/map-form/components/optimization/components/item-list/job-list.js
@@ -4,13 +4,16 @@ import MapViewData from '@/models/map-view-data'
export default {
data: () => ({
localMapViewData: null,
- jobExtended: [true]
}),
props: {
jobs: {
Type: Array,
Required: true
},
+ jobExtended: {
+ Type: Boolean,
+ Default: true
+ },
mapViewData: {
Type: MapViewData,
Required: false
@@ -24,6 +27,9 @@ export default {
}
return unassignedIds
},
+ showJobs () {
+ return [this.jobExtended]
+ }
},
watch: {
// Every time the response data changes the map builder is reset and the map data is reloaded