forked from MapComplete/MapComplete
Fix: special loginbutton now actually works
This commit is contained in:
parent
67f248b416
commit
6a4def67ca
2 changed files with 5 additions and 1 deletions
|
|
@ -6,6 +6,10 @@
|
|||
|
||||
export let osmConnection: OsmConnection
|
||||
export let clss: string | undefined = undefined
|
||||
|
||||
if(osmConnection === undefined){
|
||||
console.error("No osmConnection passed into loginButton")
|
||||
}
|
||||
</script>
|
||||
|
||||
<button class={clss} on:click={() => osmConnection.AttemptLogin()} style="margin-left: 0">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue