@@ -35,7 +35,7 @@ type propsType = {
35
35
username : ?string ,
36
36
lastKeyStroke : Map < string , * > ,
37
37
handleChangesetModifyTag : ( number , Map < string , * > , Object , boolean ) => mixed ,
38
- handleChangesetModifyHarmful : ( number , Map < string , * > , boolean | - 1 ) => mixed
38
+ handleChangesetModifyHarmful : ( number , Map < string , * > , boolean | - 1 ) => mixed
39
39
} ;
40
40
41
41
class NavbarChangeset extends React . PureComponent < void , propsType , * > {
@@ -70,7 +70,7 @@ class NavbarChangeset extends React.PureComponent<void, propsType, *> {
70
70
}
71
71
case OPEN_IN_JOSM . label : {
72
72
if ( ! this . props . changesetId ) return ;
73
- const url = `http://127.0.0.1:8111/import?url=https://www.openstreetmap .org/api/0.6/changeset/${ this . props . changesetId } /download` ;
73
+ const url = `http://127.0.0.1:8111/import?url=https://www.openhistoricalmap .org/api/0.6/changeset/${ this . props . changesetId } /download` ;
74
74
window . open ( url , '_blank' ) ;
75
75
break ;
76
76
}
@@ -84,14 +84,14 @@ class NavbarChangeset extends React.PureComponent<void, propsType, *> {
84
84
] ) ;
85
85
if ( ! coordinates ) return ;
86
86
87
- let url = `https://www.openstreetmap .org/edit?changeset=${ this . props . changesetId } ` ;
87
+ let url = `https://www.openhistoricalmap .org/edit?changeset=${ this . props . changesetId } ` ;
88
88
url += `#map=15/${ coordinates . get ( '0' ) } /${ coordinates . get ( '1' ) } ` ;
89
89
window . open ( url , '_blank' ) ;
90
90
break ;
91
91
}
92
92
case OPEN_IN_OSM . label : {
93
93
if ( ! this . props . changesetId ) return ;
94
- const url = `https://www.openstreetmap .org/changeset/${ this . props . changesetId } ` ;
94
+ const url = `https://www.openhistoricalmap .org/changeset/${ this . props . changesetId } ` ;
95
95
window . open ( url , '_blank' ) ;
96
96
break ;
97
97
}
@@ -151,14 +151,12 @@ class NavbarChangeset extends React.PureComponent<void, propsType, *> {
151
151
152
152
return (
153
153
< Navbar
154
- className = { `bg-gray-faint color-gray border-b border--gray-light border--1 ${
155
- mobile ? '' : 'px30'
156
- } `}
154
+ className = { `bg-gray-faint color-gray border-b border--gray-light border--1 ${ mobile ? '' : 'px30'
155
+ } `}
157
156
title = {
158
157
< div
159
- className = { `flex-parent flex-parent--row flex-parent--wrap ${
160
- mobile ? 'align-items--center' : ''
161
- } `}
158
+ className = { `flex-parent flex-parent--row flex-parent--wrap ${ mobile ? 'align-items--center' : ''
159
+ } `}
162
160
>
163
161
{ mobile && (
164
162
< Link
@@ -194,7 +192,7 @@ class NavbarChangeset extends React.PureComponent<void, propsType, *> {
194
192
</ svg >
195
193
</ span >
196
194
< a
197
- href = { `https://www.openstreetmap .org/changeset/${ this . props . changesetId } ` }
195
+ href = { `https://www.openhistoricalmap .org/changeset/${ this . props . changesetId } ` }
198
196
target = "_blank"
199
197
rel = "noopener noreferrer"
200
198
title = "See on OSM"
@@ -211,9 +209,8 @@ class NavbarChangeset extends React.PureComponent<void, propsType, *> {
211
209
changesetId = { this . props . changesetId }
212
210
display = {
213
211
mobile
214
- ? `${ this . isChecked ( ) ? '' : 'Changeset' } ${
215
- this . props . changesetId
216
- } `
212
+ ? `${ this . isChecked ( ) ? '' : 'Changeset' } ${ this . props . changesetId
213
+ } `
217
214
: 'Open with'
218
215
}
219
216
camera = { this . props . camera }
@@ -228,13 +225,13 @@ class NavbarChangeset extends React.PureComponent<void, propsType, *> {
228
225
'properties' ,
229
226
'check_user'
230
227
] ) && (
231
- < Tags
232
- changesetId = { this . props . changesetId }
233
- currentChangeset = { this . props . currentChangeset }
234
- disabled = { false }
235
- handleChangesetModifyTag = { this . props . handleChangesetModifyTag }
236
- />
237
- ) }
228
+ < Tags
229
+ changesetId = { this . props . changesetId }
230
+ currentChangeset = { this . props . currentChangeset }
231
+ disabled = { false }
232
+ handleChangesetModifyTag = { this . props . handleChangesetModifyTag }
233
+ />
234
+ ) }
238
235
< Verify
239
236
changeset = { this . props . currentChangeset }
240
237
placeholder = "Verify"
0 commit comments