@if (policyService.selectedAction() !== null) {

{{ policyService.selectedAction()?.name }}

@if (actionDocuString() && actionDocuString()!.length > 0) { } @if (actionNotesString() && actionNotesString()!.length > 0) { }
@if (visibleContent() === "docu") {
} @if (visibleContent() === "notes") {
}
@if (isEditMode()) { @if (policyService.selectedActionDetail()?.value) { @if (policyService.selectedActionDetail()?.value?.length === 0) {

No values available for this action.

} @else if ( policyService.selectedActionDetail()?.value?.length === 2 || policyService.selectedActionDetail()?.value?.length === 3 ) { } @else { Value @for (option of policyService.selectedActionDetail()?.value; track option) { {{ option }} } } } @else { @switch (policyService.selectedActionDetail()?.type) { @case ("bool") { } @case ("str") { } @case ("int") { } @case ("text") { } @default {

Unknown action type: {{ policyService.selectedActionDetail()?.type }}

} } } @if (selectedActionIsAlreadyAdded()) { } @else { } }
}