Better formatting

Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
RMidhunSuresh 2021-07-22 19:59:58 +05:30
parent 448bf3cb3f
commit 16887c3c33

View file

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