Add binding in view
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
11eb9c7783
commit
4fcaac3865
1 changed files with 1 additions and 1 deletions
|
@ -2,6 +2,6 @@ import {TemplateView} from "../../general/TemplateView.js";
|
||||||
|
|
||||||
export class MemberTileView extends TemplateView {
|
export class MemberTileView extends TemplateView {
|
||||||
render(t, vm) {
|
render(t, vm) {
|
||||||
return t.div(vm.name);
|
return t.div(vm => vm.name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue