feat: use correct key for searchParams check

This commit is contained in:
Simon Emanuelsson
2025-05-14 12:57:11 +02:00
committed by Simon.Emanuelsson
parent 59a9c72724
commit 1a28bcdc4c
4 changed files with 16 additions and 12 deletions

View File

@@ -388,6 +388,10 @@ export function createRatesStore({
`room[${idx}].counterratecode`,
counterratecode
)
} else {
if (searchParams.has(`room[${idx}].counterratecode`)) {
searchParams.delete(`room[${idx}].counterratecode`)
}
}
const rateCode = isMemberRate