Skip to content

Commit

Permalink
chore: fixed lint
Browse files Browse the repository at this point in the history
  • Loading branch information
claustres committed Jun 26, 2024
1 parent 7b7cd39 commit b8c0bd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/client/components/chart/KDataTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import _ from 'lodash'
import moment from 'moment'
import Papa from 'papaparse'
import { ref, watch } from 'vue'
import { downloadAsBlob, convertTimeSerie } from '../../utils'
import { downloadAsBlob, convertTimeSerie } from '../../utils'
import { useSchema } from '../../composables'
import { Units } from '../../units.js'
import { Time } from '../../time.js'
Expand Down
2 changes: 1 addition & 1 deletion core/client/units.js
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ export const Units = {
if (_.isNil(value)) {
logger.warn('[KDK] cannont convert a nil value')
return
}
}
if (value === Number.MIN_VALUE || value === Number.MAX_VALUE) return value
// If target unit is same as source unit does nothing
if (targetUnit === sourceUnit) return value
Expand Down

0 comments on commit b8c0bd8

Please sign in to comment.