FIX: TagsHtmlCallback params can be undefined (#174)
This commit is contained in:
parent
4e657b97df
commit
dfb30fc104
|
@ -231,7 +231,7 @@ function initialize(api) {
|
|||
|
||||
api.addDiscoveryQueryParam("assigned", { replace: true, refreshModel: true });
|
||||
|
||||
api.addTagsHtmlCallback((topic, params) => {
|
||||
api.addTagsHtmlCallback((topic, params = {}) => {
|
||||
const assignedTo = topic.get("assigned_to_user.username");
|
||||
if (assignedTo) {
|
||||
const assignedPath = topic.assignedToUserPath;
|
||||
|
|
Loading…
Reference in New Issue