mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-27 01:19:52 -04:00
only use remote object if its defined.
This commit is contained in:
parent
3ab1e1ad62
commit
2bf8fd38a4
@ -324,7 +324,7 @@ export class StorageService extends SubscriberBase {
|
|||||||
|
|
||||||
// since you updated the local variable above, this remote update will
|
// since you updated the local variable above, this remote update will
|
||||||
// get picked up by the remote subscription below.
|
// get picked up by the remote subscription below.
|
||||||
if (v.syncCardsAcrossDevices) {
|
if (this.cardsRemoteObject && v.syncCardsAcrossDevices) {
|
||||||
this.cardsRemoteObject.set(v.currentCards);
|
this.cardsRemoteObject.set(v.currentCards);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user