fix(ui): correct marker note lookup by adding prefix

This commit is contained in:
Azgaar 2025-07-02 00:52:41 +02:00
parent c26827bfe5
commit 738732364e
3 changed files with 3 additions and 3 deletions

View file

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