Simplify alert message
This commit is contained in:
parent
28304e673f
commit
841a0506e3
1 changed files with 1 additions and 3 deletions
|
@ -103,9 +103,7 @@ class BudgetCreateComponent extends LitElement {
|
|||
></input-field>
|
||||
<fa-button @click=${this.onCreate}>Create budget</fa-button>
|
||||
|
||||
<p role="alert" aria-atomic="true" aria-relevant="all">
|
||||
${this.hasError ? 'Could not create budget, check the amount and currency.' : null}
|
||||
</p>
|
||||
${this.hasError ? html`<p role="alert">Could not create budget, check the amount and currency.</p>` : null}
|
||||
`
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue