diff --git a/portal-frontend/src/app/case-detail/case-actions/case-actions.html b/portal-frontend/src/app/case-detail/case-actions/case-actions.html index 74d6341..5e33595 100644 --- a/portal-frontend/src/app/case-detail/case-actions/case-actions.html +++ b/portal-frontend/src/app/case-detail/case-actions/case-actions.html @@ -1 +1,19 @@ -

case-actions works!

+@if (actions().recordAssessment.mode === 'redirect') { + Beoordeling vastleggen (in legacy) +} @else { +
+ +
+} + +@if (actions().takeOwnership; as takeOwnership) { + +} + +@if (actions().releaseOwnership; as releaseOwnership) { + +} diff --git a/portal-frontend/src/app/case-detail/case-actions/case-actions.ts b/portal-frontend/src/app/case-detail/case-actions/case-actions.ts index 5778596..fd46daa 100644 --- a/portal-frontend/src/app/case-detail/case-actions/case-actions.ts +++ b/portal-frontend/src/app/case-detail/case-actions/case-actions.ts @@ -1,6 +1,6 @@ -import { Component, input } from '@angular/core'; +import { Component, input, output } from '@angular/core'; -import { CaseDetailActions } from '../case-detail.types'; +import { ActionLink, CaseDetailActions } from '../case-detail.types'; @Component({ selector: 'app-case-actions', @@ -10,4 +10,7 @@ import { CaseDetailActions } from '../case-detail.types'; }) export class CaseActions { readonly actions = input.required(); + + readonly takeOwnershipRequested = output(); + readonly releaseOwnershipRequested = output(); }