Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Updated geofence rules and added type for initEvent

Michael Rademaker5df3f9b5a951
diff --git a/ui/component/or-map/src/index.ts b/ui/component/or-map/src/index.ts
index 5a1447076..0adc49493 100644
--- a/ui/component/or-map/src/index.ts
+++ b/ui/component/or-map/src/index.ts
@@ -117,7 +117,7 @@ export class OrMap extends LitElement {
if (!openremote.ready) {
// Defer until openremote is initialised
- this._initCallback = (initEvent) => {
+ this._initCallback = (initEvent: OREvent) => {
if (initEvent === OREvent.READY) {
this.loadMap();