mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-04-27 23:10:18 +00:00
Forgot a thing (#3240)
This commit is contained in:
parent
aa369a13bf
commit
a5985e4ce5
@ -19,7 +19,7 @@ const getVersions = async () => {
|
|||||||
const modifiedVersions = versions.map(version => {
|
const modifiedVersions = versions.map(version => {
|
||||||
let newName = version.name;
|
let newName = version.name;
|
||||||
newName = newName.toLowerCase().replace(/[^a-z0-9/]/g, '');
|
newName = newName.toLowerCase().replace(/[^a-z0-9/]/g, '');
|
||||||
return { ...version, name: newName };
|
return { ...version, name: newName, date: new Date(version.date) };
|
||||||
});
|
});
|
||||||
|
|
||||||
return modifiedVersions;
|
return modifiedVersions;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user