IIDX: Added missing qpro saving code (WebUI)

This commit is contained in:
duel0213 2024-07-29 12:13:33 +09:00
parent 6853773a41
commit 432cd116c1
3 changed files with 11 additions and 1 deletions

View File

@ -140,3 +140,4 @@ Changelogs
- Fixed where unable to login after first-play (SPADA, SINOBUZ, Rootage)
- Fixed where pacemaker isn't working as intented due to wrong condition check (HEROIC VERSE ~)
- Fixed where pacemaker sub-type isn't load correctly (HEROIC VERSE ~)
- Fixed where QPRO doesn't get saved in WebUI

View File

@ -237,6 +237,12 @@ export const updateCustomSettings = async (data) => {
rival_played_folder: StoB(data.rival_played_folder),
hide_iidxid: StoB(data.hide_iidxid),
disable_beginner_option: StoB(data.disable_beginner_option),
qpro_head: parseInt(data.qpro_head),
qpro_hair: parseInt(data.qpro_hair),
qpro_face: parseInt(data.qpro_face),
qpro_hand: parseInt(data.qpro_hand),
qpro_body: parseInt(data.qpro_body),
}
await DB.Upsert<custom>(data.refid, {

View File

@ -170,7 +170,10 @@ div
.field
label.label Disable Beginner Option
.control
input(type="checkbox" name="disable_beginner_option", checked=Boolean(custom.disable_beginner_option))
if custom.disable_beginner_option === undefined
input(type="checkbox" name="disable_beginner_option", checked=Boolean(false))
else
input(type="checkbox" name="disable_beginner_option", checked=Boolean(custom.disable_beginner_option))
//- QPRO
.field
label.label QPRO Head