Remove duplicates from TK list to avoid crashes
Otherwise it throws an error because, while rendering the TK tags, you're not allowed to have one TK come more than once. That aside, we don't want *each* occurrence having its own table column, do we?
This commit is contained in:
parent
1daca87b3d
commit
0291dcacd3
1 changed files with 3 additions and 0 deletions
|
@ -32,6 +32,9 @@
|
|||
}
|
||||
}
|
||||
|
||||
// remove duplicates
|
||||
tkList = [...new Set(tkList)]
|
||||
|
||||
return tkList
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue