forked from mystiq/hydrogen-web
Better formatting
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
448bf3cb3f
commit
16887c3c33
1 changed files with 3 additions and 1 deletions
|
@ -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),
|
||||
])
|
||||
|
|
Loading…
Reference in a new issue