Change: sync immediately after re-login
This commit is contained in:
parent
66220848f1
commit
a723ab0d77
|
@ -111,7 +111,10 @@ document.onclick = e => {
|
||||||
[elStart, () => API.sync.start(elCloud.value)],
|
[elStart, () => API.sync.start(elCloud.value)],
|
||||||
[elStop, API.sync.stop],
|
[elStop, API.sync.stop],
|
||||||
[elSyncNow, API.sync.syncNow],
|
[elSyncNow, API.sync.syncNow],
|
||||||
[elLogin, API.sync.login],
|
[elLogin, async () => {
|
||||||
|
await API.sync.login();
|
||||||
|
await API.sync.syncNow();
|
||||||
|
}],
|
||||||
]) {
|
]) {
|
||||||
btn.on('click', e => {
|
btn.on('click', e => {
|
||||||
if (getEventKeyName(e) === 'MouseL') {
|
if (getEventKeyName(e) === 'MouseL') {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user