Skip to content

Commit 22d3a8e

Browse files
authored
Show correct Chart.js version in the docs version selector (#28)
1 parent d80ef03 commit 22d3a8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/.vuepress/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module.exports = {
2525
}],
2626
['@simonbrunel/vuepress-plugin-versions', {
2727
filters: {
28-
compat: (major) => +major < 2 ? 1 : 2,
28+
compat: (major) => +major < 2 ? 2 : 3,
2929
slug: (v) => v.replace(/\./g, '_'),
3030
suffix: (v) => v ? ` (${v})` : '',
3131
},

0 commit comments

Comments
 (0)