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:
Badri Sunderarajan 2021-05-28 20:16:01 +05:30
parent 1daca87b3d
commit 0291dcacd3

View file

@ -32,6 +32,9 @@
}
}
// remove duplicates
tkList = [...new Set(tkList)]
return tkList
}