diff --git a/core/auth.html b/core/auth.html index 60d33665..c21aa6be 100644 --- a/core/auth.html +++ b/core/auth.html @@ -19,8 +19,11 @@ Object.assign(app, g_data); class TfAuthElement extends LitElement { - static get_properties() { + static get properties() { return { + code_of_conduct: {type: String}, + error: {type: String}, + have_administrator: {type: Boolean}, name: {type: String}, tab: {type: String}, }; @@ -31,11 +34,6 @@ this.tab = 'login'; } - tab_changed(name) { - this.tab = name; - this.requestUpdate(); - } - render() { let self = this; return html` @@ -83,16 +81,16 @@