forked from MapComplete/MapComplete
Studio: fix path
This commit is contained in:
parent
d1ec9a43fc
commit
f51a1a3cc1
3 changed files with 5 additions and 6 deletions
|
@ -92,14 +92,14 @@ export abstract class EditJsonState<T> {
|
|||
await this.server.update(id, config, this.category)
|
||||
})
|
||||
this.messages = this.createMessagesStore()
|
||||
this.register(["credits"], this.osmConnection.userDetails.mapD(u => u.name), false)
|
||||
this.register(["credits:uid"], this.osmConnection.userDetails.mapD(u => u.uid), false)
|
||||
|
||||
|
||||
}
|
||||
|
||||
public startSavingUpdates(enabled = true) {
|
||||
this.sendingUpdates = enabled
|
||||
this.register(["credits"], this.osmConnection.userDetails.mapD(u => u.name), false)
|
||||
this.register(["credits:uid"], this.osmConnection.userDetails.mapD(u => u.uid), false)
|
||||
if (enabled) {
|
||||
this.configuration.ping()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue