mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
fix(markers-overview): correct note lookup by marker id
This commit is contained in:
parent
a3dcc8d2c4
commit
c26827bfe5
3 changed files with 4 additions and 4 deletions
|
|
@ -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) : "";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue