mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 14:59:29 -07:00
fix: avoid adding script if data is missing
This commit is contained in:
parent
bad5af6770
commit
75709a1168
1 changed files with 5 additions and 4 deletions
|
@ -37,6 +37,7 @@ mixin generatePersona(persona, isPrimary)
|
|||
p Proof link: not accessible from browser
|
||||
|
||||
block content
|
||||
if (data && 'publicKey' in data)
|
||||
script.
|
||||
kx = {
|
||||
publicKey: !{JSON.stringify(data.publicKey)}
|
||||
|
|
Loading…
Reference in a new issue