improved frontend, started csv upload endpoint
This commit is contained in:
@@ -14,13 +14,15 @@ class LocationList extends Shadow {
|
||||
.gap(1, em)
|
||||
})
|
||||
})
|
||||
.gap(0.5, em)
|
||||
.paddingLeft(5, em)
|
||||
.paddingTop(2, em)
|
||||
.onEvent("update-location", (e) => {
|
||||
console.log("location received: ", e.detail)
|
||||
this.list.unshift(e.detail)
|
||||
this.rerender()
|
||||
})
|
||||
.x(2, em).y(5, em)
|
||||
}
|
||||
}
|
||||
|
||||
window.registerShadow(LocationList)
|
||||
window.register(LocationList)
|
||||
Reference in New Issue
Block a user