Skip to content

Commit 3bdf098

Browse files
authored
feat: Update memory options in OtherBotSettings (#431)
# PR Checklist - [ ] Did you check if it works normally in all models? *ignore this when it dosen't uses models* - [ ] Did you check if it works normally in all of web, local and node hosted versions? if it dosen't, did you blocked it in those versions? - [ ] Did you added a type def? # Description
2 parents d6b600a + 2b70495 commit 3bdf098

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/Setting/Pages/OtherBotSettings.svelte

+2-2
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@
211211
<span class="text-textcolor mt-4">{language.type}</span>
212212

213213
<SelectInput value={
214-
$DataBase.hypaMemory ? 'hypav2' :
214+
$DataBase.supaMemoryType === 'hypaV2' ? 'hypaV2' :
215215
$DataBase.supaMemoryType !== 'none' ? 'supaMemory' :
216216
$DataBase.hanuraiEnable ? 'hanuraiMemory' : 'none'
217217
} on:change={(v) => {
@@ -223,7 +223,7 @@
223223
} else if (value === 'hanuraiMemory'){
224224
$DataBase.supaMemoryType = 'none'
225225
$DataBase.hanuraiEnable = true
226-
} else if (value === 'hypav2') {
226+
} else if (value === 'hypaV2') {
227227
$DataBase.supaMemoryType = 'hypaV2'
228228
$DataBase.hanuraiEnable = false
229229
} else {

0 commit comments

Comments
 (0)