Skip to content

Commit 70339af

Browse files
authored
[ENG-10042] fix(registry): moderators cannot approve registration updates (#887)
- Ticket: [ENG-10042] - Feature flag: n/a ## Purpose Fix an issue where moderators could not approve registration updates because the mapper was selecting the wrong schema response (first one instead of the one with `pending_moderation` state), and the UI did not properly handle revisions awaiting admin approval.
1 parent 2a6b2f1 commit 70339af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/features/registry/pages/registry-overview/registry-overview.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ import {
2020
import { takeUntilDestroyed, toSignal } from '@angular/core/rxjs-interop';
2121
import { ActivatedRoute, Router } from '@angular/router';
2222

23-
import { CreateSchemaResponse } from '@osf/features/registries/store';
2423
import { DataResourcesComponent } from '@osf/shared/components/data-resources/data-resources.component';
2524
import { LoadingSpinnerComponent } from '@osf/shared/components/loading-spinner/loading-spinner.component';
2625
import { SubHeaderComponent } from '@osf/shared/components/sub-header/sub-header.component';
@@ -46,6 +45,7 @@ import { RegistryRevisionsComponent } from '../../components/registry-revisions/
4645
import { RegistryStatusesComponent } from '../../components/registry-statuses/registry-statuses.component';
4746
import { WithdrawnMessageComponent } from '../../components/withdrawn-message/withdrawn-message.component';
4847
import {
48+
CreateSchemaResponse,
4949
GetRegistryById,
5050
GetRegistryReviewActions,
5151
GetRegistrySchemaResponses,

0 commit comments

Comments
 (0)