Union of subs 'null' when app is initialized
This commit is contained in:
parent
5f9a84dfd7
commit
1fdf86dd47
1 changed files with 2 additions and 2 deletions
|
|
@ -63,8 +63,8 @@ class SubscriptionsMap extends React.Component {
|
|||
|
||||
handleLeafletLoad(map) {
|
||||
// console.log('Map loading');
|
||||
// console.log(map);
|
||||
if (map) {
|
||||
if (map && this.props.userSubs !== 'null') {
|
||||
// console.log(`Union of ${this.props.userSubs}`);
|
||||
this.state.union = subsUnion(this.state.union, {
|
||||
map,
|
||||
subs: this.props.userSubs,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue