File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
src/fragments/forms/map-form/components/download Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import Vehicle from '@/models/vehicle'
6
6
import constants from '@/resources/constants'
7
7
import toKml from '@maphubs/tokml'
8
8
import toGpx from 'togpx'
9
- import vehicle from "@/models/vehicle" ;
10
9
11
10
export default {
12
11
data : ( ) => ( {
@@ -86,10 +85,9 @@ export default {
86
85
} ,
87
86
availableDownloadFormats ( ) {
88
87
const context = this
89
- const available = this . lodash . filter ( this . downloadFormats , ( f ) => {
88
+ return this . lodash . filter ( this . downloadFormats , ( f ) => {
90
89
return context . downloadFormatsSupported . includes ( f . value )
91
90
} )
92
- return available
93
91
} ,
94
92
// low priority TODO: read jobs and vehicles out of MapView data instead of prop
95
93
dataJson ( ) {
You can’t perform that action at this time.
0 commit comments