mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 14:59:29 -07:00
fix: make sure primaryUserIndex exists
This commit is contained in:
parent
786e9cdd3e
commit
04180468ba
1 changed files with 2 additions and 0 deletions
|
@ -250,6 +250,8 @@ const processKeyData = (keyData) => {
|
|||
})
|
||||
})
|
||||
|
||||
keyData.primaryUserIndex ||= 0
|
||||
|
||||
return keyData
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue