Sidebar check siteSign result
This commit is contained in:
parent
3489d5de09
commit
4088c88a56
2 changed files with 14 additions and 9 deletions
|
@ -358,7 +358,8 @@ class Sidebar extends Class
|
|||
if wrapper.site_info.privatekey or wrapper.site_info.auth_address in res.signers
|
||||
# Privatekey stored in users.json
|
||||
wrapper.ws.cmd "siteSign", {privatekey: "stored", inner_path: inner_path, update_changed_files: true}, (res) =>
|
||||
wrapper.notifications.add "sign", "done", "#{inner_path} Signed!", 5000
|
||||
if res == "ok"
|
||||
wrapper.notifications.add "sign", "done", "#{inner_path} Signed!", 5000
|
||||
|
||||
else
|
||||
# Ask the user for privatekey
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue