mirror of
https://github.com/hubHarmony/servii-frontend.git
synced 2024-11-18 05:40:31 +00:00
version sorted
This commit is contained in:
parent
f4d0d6369f
commit
cbb303934c
@ -6,7 +6,7 @@ import PropTypes from "prop-types";
|
|||||||
import { GoTag, GoCheck } from "react-icons/go";
|
import { GoTag, GoCheck } from "react-icons/go";
|
||||||
|
|
||||||
const versions = {
|
const versions = {
|
||||||
paper:[
|
paper: [
|
||||||
"1.16.2",
|
"1.16.2",
|
||||||
"1.14.4",
|
"1.14.4",
|
||||||
"1.13.2",
|
"1.13.2",
|
||||||
@ -48,7 +48,7 @@ const versions = {
|
|||||||
"1.19.1",
|
"1.19.1",
|
||||||
"1.14.1",
|
"1.14.1",
|
||||||
"1.20.5"
|
"1.20.5"
|
||||||
]
|
].sort((a, b) => b.localeCompare(a, undefined, { numeric: true }))
|
||||||
};
|
};
|
||||||
|
|
||||||
const CreateServer = ({ user, onCreateServer, onSubdomainUpdate, onCancel, noServers }) => {
|
const CreateServer = ({ user, onCreateServer, onSubdomainUpdate, onCancel, noServers }) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user