Skip to content

Commit b761fb1

Browse files
committed
fix: unused import statement
refactor return to resolve warning
1 parent 3a5973c commit b761fb1

File tree

1 file changed

+1
-3
lines changed
  • src/fragments/forms/map-form/components/download

1 file changed

+1
-3
lines changed

src/fragments/forms/map-form/components/download/download.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import Vehicle from '@/models/vehicle'
66
import constants from '@/resources/constants'
77
import toKml from '@maphubs/tokml'
88
import toGpx from 'togpx'
9-
import vehicle from "@/models/vehicle";
109

1110
export default {
1211
data: () => ({
@@ -86,10 +85,9 @@ export default {
8685
},
8786
availableDownloadFormats () {
8887
const context = this
89-
const available = this.lodash.filter(this.downloadFormats, (f) => {
88+
return this.lodash.filter(this.downloadFormats, (f) => {
9089
return context.downloadFormatsSupported.includes(f.value)
9190
})
92-
return available
9391
},
9492
// low priority TODO: read jobs and vehicles out of MapView data instead of prop
9593
dataJson () {

0 commit comments

Comments
 (0)