From 051fe6717629e35d4ffb35ef0863e0ca9d84d53c Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Thu, 24 Jul 2025 22:46:36 +0300 Subject: [PATCH] feat(views/geo): react to icon changes --- apps/client/src/widgets/view_widgets/geo_view/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/widgets/view_widgets/geo_view/index.ts b/apps/client/src/widgets/view_widgets/geo_view/index.ts index 2810fa5bc..9b194f9df 100644 --- a/apps/client/src/widgets/view_widgets/geo_view/index.ts +++ b/apps/client/src/widgets/view_widgets/geo_view/index.ts @@ -290,7 +290,7 @@ export default class GeoView extends ViewMode { // If any of note has its location attribute changed. // TODO: Should probably filter by parent here as well. const attributeRows = loadResults.getAttributeRows(); - if (attributeRows.find((at) => [LOCATION_ATTRIBUTE, "color"].includes(at.name ?? ""))) { + if (attributeRows.find((at) => [LOCATION_ATTRIBUTE, "color", "iconClass"].includes(at.name ?? ""))) { this.#reloadMarkers(); }