frontend: Fix indexes of tags
This commit is contained in:
parent
7af23ed297
commit
698e69d132
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@
|
||||||
const th = $themes[k];
|
const th = $themes[k];
|
||||||
for (const ex of th.exercices) {
|
for (const ex of th.exercices) {
|
||||||
if (ex.tags.indexOf(data.tag) >= 0) {
|
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});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Reference in a new issue