Skip to content

Commit

Permalink
fix: enable skip rounding option for all versions
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardo committed Dec 7, 2023
1 parent 818f76a commit b405a12
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions src/modules/options/lineListConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ export default (serverVersion) => {
}`

const optionsConfig = [
getDataTab([
getDisplayTemplate({
content: React.Children.toArray([<SkipRounding />]),
}),
]),

getStyleTab([
{
key: 'style-section-1',
Expand All @@ -32,15 +38,5 @@ export default (serverVersion) => {
optionsConfig.push(getLegendTab())
}

if (currentVersion >= '2.41.0') {
optionsConfig.unshift(
getDataTab([
getDisplayTemplate({
content: React.Children.toArray([<SkipRounding />]),
}),
])
)
}

return optionsConfig
}

0 comments on commit b405a12

Please sign in to comment.