Add binding in view

Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
RMidhunSuresh 2021-06-22 15:46:01 +05:30
parent 11eb9c7783
commit 4fcaac3865

View file

@ -2,6 +2,6 @@ import {TemplateView} from "../../general/TemplateView.js";
export class MemberTileView extends TemplateView {
render(t, vm) {
return t.div(vm.name);
return t.div(vm => vm.name);
}
}