Fix rendering empty message
This commit is contained in:
@@ -394,6 +394,7 @@ function formatDate(date) {
|
|||||||
|
|
||||||
function render(opts, id, c) {
|
function render(opts, id, c) {
|
||||||
var base = opts.base;
|
var base = opts.base;
|
||||||
|
if (!c) return
|
||||||
if (c.type === "post") {
|
if (c.type === "post") {
|
||||||
var channel = c.channel
|
var channel = c.channel
|
||||||
? h('div.top-right',
|
? h('div.top-right',
|
||||||
|
|||||||
Reference in New Issue
Block a user