Don't call render()

This commit is contained in:
RMidhunSuresh 2022-01-06 22:03:47 +05:30
parent e99cd41ed0
commit fee6447e22

View file

@ -27,7 +27,7 @@ export class ReplyPreviewView extends TemplateView {
// todo: this should probably be called viewClassForTile instead
const viewClass = viewClassForEntry(vm);
const view = new viewClass(vm, { reply: true, interactive: false });
const rendered = view.render(t, vm);
const rendered = t.view(view);
return this._renderReplyHeader(t, vm, [rendered]);
}