frontend: Fix indexes of tags

This commit is contained in:
nemunaire 2025-03-29 12:02:44 +01:00
commit 698e69d132

View file

@ -26,7 +26,7 @@
const th = $themes[k];
for (const ex of th.exercices) {
if (ex.tags.indexOf(data.tag) >= 0) {
tmp_exercices.push({theme: th, exercice: ex, index: k + "," + ex});
tmp_exercices.push({theme: th, exercice: ex, index: k + "," + ex.id});
}
}
}