homeflowjs 0.11.0 → 0.11.1
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.
@@ -33,6 +33,7 @@ class BranchMap extends React.Component {
|
|
33
33
|
custom,
|
34
34
|
iconConfig,
|
35
35
|
fullscreenControl,
|
36
|
+
zoomControl,
|
36
37
|
} = this.props;
|
37
38
|
|
38
39
|
// Should this be added to Redux?
|
@@ -46,8 +47,8 @@ class BranchMap extends React.Component {
|
|
46
47
|
scrollWheel,
|
47
48
|
zoom,
|
48
49
|
streetViewControl: !disableStreetview,
|
49
|
-
zoomControl: false,
|
50
50
|
fullscreenControl: false,
|
51
|
+
zoomControl,
|
51
52
|
};
|
52
53
|
|
53
54
|
if (custom === 'simple_bw') {
|
@@ -85,6 +86,7 @@ BranchMap.propTypes = {
|
|
85
86
|
initGoogleMaps: PropTypes.func.isRequired,
|
86
87
|
google: PropTypes.bool,
|
87
88
|
iconConfig: PropTypes.object,
|
89
|
+
zoomControl: PropTypes.bool,
|
88
90
|
};
|
89
91
|
|
90
92
|
BranchMap.defaultProps = {
|
@@ -95,6 +97,7 @@ BranchMap.defaultProps = {
|
|
95
97
|
disableStreetview: false,
|
96
98
|
google: false,
|
97
99
|
iconConfig: null,
|
100
|
+
zoomControl: false,
|
98
101
|
};
|
99
102
|
|
100
103
|
const mapDispatchToProps = {
|
package/package.json
CHANGED
@@ -28,7 +28,7 @@ const AccountEdit = ({ localUser, toggleEdit, updating }) => (
|
|
28
28
|
</div>
|
29
29
|
|
30
30
|
<div className="profile-edit-form__group">
|
31
|
-
<UserInput name="tel_home" required />
|
31
|
+
<UserInput name="tel_home" pattern="^[+]?[0-9]{9,12}$" required />
|
32
32
|
<label htmlFor="user-input-tel_home" className={localUser.tel_home ? 'shrink' : ''}>Phone</label>
|
33
33
|
</div>
|
34
34
|
|