We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 637101f commit d75c030Copy full SHA for d75c030
resources/assets/js/components/FlarumVersionString.js
@@ -46,6 +46,11 @@ export default {
46
label = 'beta ' + labelVersions.map(t => t.replace('beta ', '')).join('/');
47
}
48
49
+ // If there are more than 2 stable versions possible, use label 1.x
50
+ if (labelVersions.length > 2 && labelVersions.every(t => t.indexOf('beta') === -1)) {
51
+ label = '1.x';
52
+ }
53
+
54
return m('span', {
55
title: titleVersions.join(' or '),
56
}, label);
0 commit comments