Skip to content

Commit

Permalink
lmb-1222: update the extra info card when the data is updated
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasVanHoof committed Jan 17, 2025
1 parent 0639fbc commit 3c9de5f
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions app/components/mandatarissen/mandataris-extra-info-card.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,17 @@

<div class="au-o-box au-u-background-gray-100">
<div class="au-o-grid au-o-grid--small">
<EditableForm
@isReadOnly={{true}}
@instanceId={{@mandataris.id}}
@form={{@form}}
@onCancel={{this.toggleModal}}
@onSave={{this.onSave}}
@formInitialized={{fn (mut this.formInitialized) true}}
@customHistoryMessage={{true}}
/>
{{#if this.onSave.isRunning}}
<AuLabel for="input" class="skeleton-label" />
<p class="skeleton-text au-u-margin-top"></p>
{{else}}
<EditableForm
@isReadOnly={{true}}
@instanceId={{@mandataris.id}}
@form={{@form}}
@formInitialized={{fn (mut this.formInitialized) true}}
/>
{{/if}}
</div>
</div>

Expand Down

0 comments on commit 3c9de5f

Please sign in to comment.