forked from MapComplete/MapComplete
Fix: add new items works again, fix #1593
This commit is contained in:
parent
7ace25d377
commit
c527427f70
2 changed files with 1 additions and 4 deletions
|
@ -19,9 +19,6 @@ export default abstract class OsmChangeAction {
|
|||
constructor(mainObjectId: string, trackStatistics: boolean = true) {
|
||||
this.trackStatistics = trackStatistics
|
||||
this.mainObjectId = mainObjectId
|
||||
if(mainObjectId === undefined || mainObjectId === null){
|
||||
throw "OsmObject received '"+mainObjectId+"' as mainObjectId"
|
||||
}
|
||||
}
|
||||
|
||||
public async Perform(changes: Changes) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue