mirror of
https://gitea.tendokyu.moe/sk1982/actaeon.git
synced 2026-03-21 17:54:19 -05:00
fix: userbox save all not saving username
This commit is contained in:
parent
c96d9a5922
commit
c00c429ede
|
|
@ -88,7 +88,7 @@ export const ChuniUserbox = ({ profile, userboxItems }: ChuniUserboxProps) => {
|
|||
|
||||
const save = <K extends keyof SavedItem>(...items: K[]) => {
|
||||
if (!items.length)
|
||||
items = Object.keys(ITEM_KEYS) as any;
|
||||
items = [...Object.keys(ITEM_KEYS) as any, 'username'];
|
||||
|
||||
const update: Partial<ProfileUpdate> = Object.fromEntries((Object.entries(equipped) as Entries<typeof equipped>)
|
||||
.filter(([k]) => items.includes(k as any))
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user