import {ShadowElement, html, mixin} from "@benev/slate" import {Auth} from "../../auth.js" import stylesCss from "./styles.css.js" import {IdView} from "../../../common/views/id/view.js" @mixin.css(stylesCss) @mixin.reactive() export class AuthUser extends ShadowElement { auth = Auth.get() render() { const {auth} = this const {login} = auth return login ? html`
${login.name} ${IdView([login.thumbprint])}
` : html`` } }