FIX: postLabel was not working for totals (#6904)
This commit is contained in:
parent
0b6be2cebc
commit
7908a522a0
|
@ -351,7 +351,8 @@ const Report = Discourse.Model.extend({
|
||||||
return {
|
return {
|
||||||
property: properties.title,
|
property: properties.title,
|
||||||
value: postTitle,
|
value: postTitle,
|
||||||
formatedValue: `<a href='${href}'>${postTitle}</a>`
|
formatedValue:
|
||||||
|
postTitle && href ? `<a href='${href}'>${postTitle}</a>` : "—"
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue