fix(markers-overview): correct note lookup by marker id

This commit is contained in:
Azgaar 2025-07-01 23:16:07 +02:00
parent a3dcc8d2c4
commit c26827bfe5
3 changed files with 4 additions and 4 deletions

View file

@ -214,8 +214,8 @@ function overviewMarkers() {
const body = pack.markers.map(marker => {
const {i, type, icon, x, y} = marker;
const note = notes.find(note => note.id === id);
const note = notes.find(note => note.id === i);
const name = note ? quote(note.name) : "Unknown";
const legend = note ? quote(note.legend) : "";