Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ <h1 class="mb-4">{{'bitstream-request-a-copy.header' | translate}}</h1>

<!-- Captcha - to be rendered only if enabled in backend requestitem.cfg -->
@if (!!(captchaEnabled$ | async)) {
<div *ngVar="challengeHref$ | async as href">
<ds-altcha-captcha autoload="onload" challengeUrl="{{ href }}" (payload)="handlePayload($event)">
<div>
<ds-altcha-captcha autoload="onload" challengeUrl="{{ challengeHref$ | async }}" (payload)="handlePayload($event)">
</ds-altcha-captcha>
</div>
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import 'altcha';

import {
AsyncPipe,
Location,
Expand Down Expand Up @@ -65,7 +63,6 @@ import {
isNotEmpty,
} from '../../../shared/empty.util';
import { NotificationsService } from '../../../shared/notifications/notifications.service';
import { VarDirective } from '../../../shared/utils/var.directive';
import { getItemPageRoute } from '../../item-page-routing-paths';
import { AltchaCaptchaComponent } from './altcha-captcha.component';

Expand All @@ -78,7 +75,6 @@ import { AltchaCaptchaComponent } from './altcha-captcha.component';
AsyncPipe,
ReactiveFormsModule,
BtnDisabledDirective,
VarDirective,
AltchaCaptchaComponent,
],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import 'altcha';

import {
AsyncPipe,
Location,
Expand Down
2 changes: 2 additions & 0 deletions src/modules/app/browser-app.config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import 'altcha';

import {
HttpClient,
provideHttpClient,
Expand Down
Loading