chore(views/geo): typing issue

This commit is contained in:
Elian Doran 2025-07-14 22:52:37 +03:00
parent c9b37dcc77
commit b1f0c64ef2
No known key found for this signature in database

View File

@ -251,7 +251,7 @@ export default class GeoView extends ViewMode<MapData> {
} }
} }
async onEntitiesReloaded({ loadResults }: EventData<"entitiesReloaded">): boolean | void { async onEntitiesReloaded({ loadResults }: EventData<"entitiesReloaded">) {
// If any of the children branches are altered. // If any of the children branches are altered.
if (loadResults.getBranchRows().find((branch) => branch.parentNoteId === this.parentNote.noteId)) { if (loadResults.getBranchRows().find((branch) => branch.parentNoteId === this.parentNote.noteId)) {
this.#reloadMarkers(); this.#reloadMarkers();