Save one of the last spots in our Shell + Git + GitLab introdoctury course on Friday and Monday next week. 👉 Register here.

Commit b7a4fe96 authored by femiadeyemi's avatar femiadeyemi
Browse files

change the method name from signIn to _goToServices

parent d258eac7
Pipeline #60659 failed with stages
in 1 minute and 48 seconds
/* eslint class-methods-use-this: ["error", { "exceptMethods": ["_signIn"] }] */
/* eslint class-methods-use-this: ["error", { "exceptMethods": ["_goToServices"] }] */
import { LitElement, html, css } from 'lit-element';
import '@material/mwc-button';
......@@ -154,7 +154,7 @@ class LandingView extends LitElement
<h1>Helmholtz Cloud</h1>
<p>a portfolio of seamlessly accessible IT services to support scientific work.</p>
<div>
<div @click="${this._signIn}">
<div @click="${this._goToServices}">
<mwc-button raised>Show Services</mwc-button>
</div>
</div>
......@@ -178,7 +178,7 @@ class LandingView extends LitElement
`;
}
_signIn()
_goToServices()
{
window.location.href = `/#/services`;
}
......
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