mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-29 05:00:43 +10:00
Merge pull request #771 from sharetribe/revert-770-onIdle-without-null
Revert "onIdle should not be called without ref to actual map"
This commit is contained in:
commit
bba6f8b510
1 changed files with 1 additions and 3 deletions
|
|
@ -268,9 +268,7 @@ export class SearchMapComponent extends Component {
|
|||
onListingClicked={this.onListingClicked}
|
||||
onMapLoad={this.onMapLoadHandler}
|
||||
onIdle={() => {
|
||||
if (this.googleMap) {
|
||||
onIdle(this.googleMap);
|
||||
}
|
||||
onIdle(this.googleMap);
|
||||
}}
|
||||
onCloseAsModal={() => {
|
||||
if (onCloseAsModal) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue