Fix: syncTarget is undefined
This commit is contained in:
parent
d88bd092e1
commit
d65b7b0700
|
@ -118,7 +118,7 @@ document.onclick = e => {
|
||||||
// FIXME: i18n
|
// FIXME: i18n
|
||||||
if (status.syncing) {
|
if (status.syncing) {
|
||||||
if (status.progress) {
|
if (status.progress) {
|
||||||
const {phase, loaded, total} = status.syncTarget;
|
const {phase, loaded, total} = status.progress;
|
||||||
return `${phase}ing style ${loaded + 1} of ${total}`;
|
return `${phase}ing style ${loaded + 1} of ${total}`;
|
||||||
}
|
}
|
||||||
return 'syncing...';
|
return 'syncing...';
|
||||||
|
|
Loading…
Reference in New Issue
Block a user