mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 19:37:55 +08:00
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 {
|
||||
property: properties.title,
|
||||
value: postTitle,
|
||||
formatedValue: `<a href='${href}'>${postTitle}</a>`
|
||||
formatedValue:
|
||||
postTitle && href ? `<a href='${href}'>${postTitle}</a>` : "—"
|
||||
};
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user