Fix saved_accounts.add bad arguments
This commit is contained in:
parent
ea980e0241
commit
c2590abe12
|
@ -44,14 +44,16 @@ HPage {
|
|||
button.loading = false
|
||||
|
||||
py.callCoro(
|
||||
"saved_accounts." +
|
||||
(rememberAccount.checked ? "add": "delete"),
|
||||
[data]
|
||||
rememberAccount.checked ?
|
||||
"saved_accounts.add": "saved_accounts.delete",
|
||||
|
||||
[userId]
|
||||
)
|
||||
|
||||
pageLoader.showPage(
|
||||
"AccountSettings/AccountSettings", {userId: data}
|
||||
"AccountSettings/AccountSettings", {userId}
|
||||
)
|
||||
|
||||
}, type => {
|
||||
if (type === "CancelledError") return
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user