Add error reporting on connect and main page

This commit is contained in:
bbworld1 2020-08-07 21:08:51 -07:00 committed by Simon Ser
parent 96c890f1f5
commit 16582a6592
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
4 changed files with 49 additions and 13 deletions

View file

@ -140,7 +140,9 @@ export default class Connect extends Component {
</details>
<br/>
${this.props.error ? html`
<p class="error-text">${this.props.error || ""}</p>
` : null}
<button disabled=${this.props.disabled}>Connect</button>
</form>
`;