Commit bf063d4d authored by Rémy Grünblatt's avatar Rémy Grünblatt Committed by GitHub

Fix oauth provider template (#1916)

parent dda0838a
const tpl_provider = (o) => html`
import { html } from "lit-html";
const tpl_provider = (o, provider) => html`
<p class="oauth-provider">
<a @click=${o.oauthLogin} class="oauth-login" data-id="${provider.id}">
<i class="fa ${provider.class}"></i>${provider.login_text}
......@@ -8,6 +10,6 @@ const tpl_provider = (o) => html`
export default (o) => html`
<fieldset class="oauth-providers">
${ o.providers.map(provider => tpl_provider(o)) }
${ o.providers.map(provider => tpl_provider(o, provider)) }
</fieldset>
`;
`;
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment