Skip to content

Commit

Permalink
readded constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
feserm committed Dec 13, 2024
1 parent 7a6a5e5 commit c89035b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/odrl/entity/Duty.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
>
</div>

<!-- {#if $odrlObj.obligation.find((r) => {
{#if $odrlObj.obligation.find((r) => {
return r.action === componentConfig.item;
})}
<Constraints
Expand All @@ -67,7 +67,7 @@
})}
{componentConfig}
/>
{/if} -->
{/if}

{#if $odrlObj.obligation.find((r) => {
return r.action === componentConfig.item;
Expand Down
4 changes: 2 additions & 2 deletions src/components/odrl/entity/RuleSwitch.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
>
</div>

<!-- {#if $odrlObj.permission.find((r) => {
{#if $odrlObj.permission.find((r) => {
return r.action === componentConfig.item;
})}
<Constraints
Expand All @@ -124,7 +124,7 @@
})}
{componentConfig}
/>
{/if} -->
{/if}

{#if $odrlObj.permission.find((r) => {
return r.action === componentConfig.item;
Expand Down

0 comments on commit c89035b

Please sign in to comment.