div --> li

Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
RMidhunSuresh 2021-07-13 17:39:17 +05:30
parent ea0851eb94
commit f506cf615b

View file

@ -3,7 +3,7 @@ import {AvatarView} from "../../avatar.js";
export class MemberTileView extends TemplateView { export class MemberTileView extends TemplateView {
render(t, vm) { render(t, vm) {
return t.div({ className: "MemberTileView" }, [ return t.li({ className: "MemberTileView" }, [
t.view(new AvatarView(vm, 32)), t.view(new AvatarView(vm, 32)),
t.div({ className: "MemberTileView_name" }, (vm) => vm.name), t.div({ className: "MemberTileView_name" }, (vm) => vm.name),
]); ]);