Fix version numbers

This commit is contained in:
kwaroran
2024-12-01 18:08:06 +09:00
parent 227a11815f
commit 5499368ac0
4 changed files with 8 additions and 11 deletions

View File

@@ -89,15 +89,12 @@
})
if(ind !== -1){
DBState.db.promptTemplate[ind] = promptItem
promptItem = prompt
}
else{
const myInd = DBState.db.promptTemplate.findIndex((item, index) => {
return JSON.stringify(item) === JSON.stringify(promptItem)
})
DBState.db.promptTemplate.splice(myInd, 0, prompt)
DBState.db.promptTemplate.splice(ind, 1)
}
const myInd = DBState.db.promptTemplate.findIndex((item, index) => {
return JSON.stringify(item) === JSON.stringify(promptItem)
})
DBState.db.promptTemplate.splice(myInd, 0, prompt)
}