Don't replace all keys in profile update.
This commit is contained in:
parent
fe3f794e01
commit
02f8b7706e
1 changed files with 1 additions and 0 deletions
|
@ -356,6 +356,7 @@ function click_update_profile() {
|
|||
nip05: find_node("input[name='nip05']", el).value,
|
||||
about: find_node("textarea[name='about']", el).value,
|
||||
};
|
||||
Object.assign(p, model_get_profile(DAMUS, DAMUS.pubkey).data, p);
|
||||
update_profile(p);
|
||||
close_modal(el);
|
||||
// TODO show toast that say's "broadcasted!"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue