Skip to content

Commit

Permalink
Merge branch 'main' of github.com:josdejong/svelte-jsoneditor
Browse files Browse the repository at this point in the history
  • Loading branch information
josdejong committed Nov 21, 2023
2 parents 3058c66 + 4392f2c commit 0510dcf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/lib/components/controls/ValidationErrorsOverview.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
{#if !isEmpty(validationErrors)}
<div class="jse-validation-errors-overview">
{#if expanded || count === 1}
<table>
<table class="jse-validation-errors-overview-expanded">
<tbody>
{#each limit(validationErrors, MAX_VALIDATION_ERRORS) as validationError, index}
<tr
Expand All @@ -45,10 +45,10 @@
<td class="jse-validation-error-icon">
<Icon data={faExclamationTriangle} />
</td>
<td>
<td class="jse-validation-error-path">
{stringifyJSONPath(validationError.path)}
</td>
<td>
<td class="jse-validation-error-message">
{validationError.message}
</td>
<td class="jse-validation-error-action">
Expand Down Expand Up @@ -77,13 +77,13 @@
</tbody>
</table>
{:else}
<table>
<table class="jse-validation-errors-overview-collapsed">
<tbody>
<tr class="jse-validation-error" on:click={expand}>
<td class="jse-validation-error-icon">
<Icon data={faExclamationTriangle} />
</td>
<td>
<td class="jse-validation-error-count">
{count} validation errors
<div class="jse-validation-errors-expand">
<Icon data={faAngleRight} />
Expand Down

0 comments on commit 0510dcf

Please sign in to comment.