Skip to content

Commit

Permalink
refactor(route-importer.js): fix variable typo
Browse files Browse the repository at this point in the history
  • Loading branch information
amoncaldas committed Dec 1, 2021
1 parent caedb08 commit 6d9c8d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fragments/forms/route-importer/route-importer.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ export default {
context.showError(context.$t('routeImporter.failedToLoadFile'), 20000)
} else {
let parts = file.name.split('.')
let extention = parts[parts.length - 1]
let type = file.type || extention
let extension = parts[parts.length - 1]
let type = file.type || extension
context.catchAndParseFile(content, type, new Date().getTime())
context.isImportModalOpen = false
}
Expand Down

0 comments on commit 6d9c8d1

Please sign in to comment.