Fix incorrect scheduledZoom type check
This commit is contained in:
parent
27231ff5ff
commit
9ee99c9290
@ -204,7 +204,7 @@ export default defineComponent({
|
|||||||
location = newValue.center;
|
location = newValue.center;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(typeof this.scheduledZoom === 'undefined') {
|
if(this.scheduledZoom == null) {
|
||||||
if(typeof newValue.defaultZoom !== 'undefined') {
|
if(typeof newValue.defaultZoom !== 'undefined') {
|
||||||
this.scheduledZoom = newValue.defaultZoom;
|
this.scheduledZoom = newValue.defaultZoom;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user