Change validation-errors constistently to buttons
This commit is contained in:
parent
735702ba99
commit
a3c0da7d95
|
@ -465,13 +465,13 @@
|
|||
<span class="delimiter">}</span>
|
||||
{#if validationError}
|
||||
<!-- FIXME: implement proper tooltip -->
|
||||
<span
|
||||
<button
|
||||
class='validation-error'
|
||||
title={validationError.isChildError ? 'Contains invalid properties' : validationError.message}
|
||||
on:click={handleExpand}
|
||||
>
|
||||
<Icon data={faExclamationTriangle} />
|
||||
</span>
|
||||
</button>
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
|
@ -534,9 +534,9 @@
|
|||
></div>
|
||||
{#if validationError}
|
||||
<!-- FIXME: implement proper tooltip -->
|
||||
<div class='validation-error' title={validationError.message}>
|
||||
<button class='validation-error' title={validationError.message}>
|
||||
<Icon data={faExclamationTriangle} />
|
||||
</div>
|
||||
</button>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
|
|
Loading…
Reference in New Issue