fix(frontend): fix app map reactivity (#1260)

This commit is contained in:
Faton Ramadani
2023-03-06 11:26:00 +01:00
committed by GitHub
parent a45cc1df73
commit 3407cf91da
@@ -147,7 +147,6 @@
})
$: css = concatCustomCss($app.css?.mapcomponent, customCss)
$: gridItem = findGridItem($app, id)
function updateRegionOutput() {
if (map) {
@@ -164,6 +163,8 @@
}
function handleSyncRegion() {
const gridItem = findGridItem($app, id)
if (!map || !gridItem) {
return
}