Skip to content

Commit

Permalink
Merge pull request #773 from intuitem/ui/show-implementation_groups_d…
Browse files Browse the repository at this point in the history
…escriptions

Show description of implementation groups in framework detail
  • Loading branch information
nas-tabchiche authored Aug 30, 2024
2 parents 27b7db6 + 442da5d commit 58dce3b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions frontend/src/routes/(app)/frameworks/[id=uuid]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,13 @@
</div>
{/each}
{:else if key === 'implementation_groups_definition'}
{#each Object.entries(value) as [key, definition]}
{#each Object.entries(value) as [_, definition]}
<div>
{definition.ref_id}. {definition.name}
** {definition.ref_id} **
{definition.name}
{#if Object.hasOwn(definition, 'description') && definition.description}
: {definition.description}
{/if}
</div>
{/each}
{:else if Array.isArray(value)}
Expand Down

0 comments on commit 58dce3b

Please sign in to comment.