Deposit page zoom bugfix

This commit is contained in:
Фролов 2021-07-27 10:20:53 +05:00
parent 4fc4dd5995
commit 79127d3beb

View File

@ -7,7 +7,7 @@ import {ClusterService} from '../services/api'
import notify from '../components/notify'
const calcViewParams = (clusters) => {
if (clusters || clusters.length === 0)
if ((!clusters) || clusters.length === 0)
return {center:[60.81226, 70.0562], zoom: 5}
const center = clusters.reduce((sum, cluster) => {