homeflowjs 0.12.16 → 0.12.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Jenkinsfile
CHANGED
@@ -39,7 +39,7 @@ pipeline {
|
|
39
39
|
|
40
40
|
stage('Publish Verification') {
|
41
41
|
when {
|
42
|
-
branch '
|
42
|
+
branch 'main'
|
43
43
|
|
44
44
|
anyOf {
|
45
45
|
triggeredBy 'BitBucketPushCause'
|
@@ -69,7 +69,7 @@ pipeline {
|
|
69
69
|
sh 'git config --global user.name "Homeflow CI"'
|
70
70
|
sh 'yarn publish --new-version ${PUBLISH_VERSION}'
|
71
71
|
sh 'git show'
|
72
|
-
sh 'git push git@bitbucket.org:homeflow_developers/homeflowjs HEAD:
|
72
|
+
sh 'git push git@bitbucket.org:homeflow_developers/homeflowjs HEAD:main'
|
73
73
|
}
|
74
74
|
}
|
75
75
|
}
|
package/package.json
CHANGED
@@ -451,6 +451,9 @@ export default class DraggableMap {
|
|
451
451
|
|
452
452
|
} else if (!search.place?.viewport) {
|
453
453
|
center = new L.LatLng(place.lat, place.lng);
|
454
|
+
const bounds = this.getMarkerBounds();
|
455
|
+
if (bounds && bounds.isValid()) return;
|
456
|
+
|
454
457
|
return this.map.setView(center, 12);
|
455
458
|
}
|
456
459
|
} else {
|