Fix item sort when doses have decimal places

This commit is contained in:
RunasSudo 2023-02-10 23:46:08 +11:00
parent b059c56cec
commit eb40e2a950
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A

View File

@ -218,7 +218,7 @@
} }
} }
const regexIsNumber = /^[0-9]+$/; const regexIsNumber = /^[0-9.]+$/;
function comparePBSItems(item1, item2) { function comparePBSItems(item1, item2) {
// Sort RPBS, etc. benefits after other items // Sort RPBS, etc. benefits after other items