mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 15:33:04 +00:00
[DURACOM-191] Fix withdrawn-reinstate-modal
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
import {
|
import {
|
||||||
AsyncPipe,
|
AsyncPipe,
|
||||||
|
NgFor,
|
||||||
NgIf,
|
NgIf,
|
||||||
} from '@angular/common';
|
} from '@angular/common';
|
||||||
import {
|
import {
|
||||||
@@ -21,6 +22,7 @@ import {
|
|||||||
standalone: true,
|
standalone: true,
|
||||||
imports: [
|
imports: [
|
||||||
NgIf,
|
NgIf,
|
||||||
|
NgFor,
|
||||||
AsyncPipe,
|
AsyncPipe,
|
||||||
],
|
],
|
||||||
styleUrls: ['./ePerson-data.component.scss'],
|
styleUrls: ['./ePerson-data.component.scss'],
|
||||||
|
@@ -1,4 +1,7 @@
|
|||||||
import { AsyncPipe } from '@angular/common';
|
import {
|
||||||
|
AsyncPipe,
|
||||||
|
NgIf,
|
||||||
|
} from '@angular/common';
|
||||||
import {
|
import {
|
||||||
Component,
|
Component,
|
||||||
EventEmitter,
|
EventEmitter,
|
||||||
@@ -18,6 +21,7 @@ import { LoadingComponent } from '../loading/loading.component';
|
|||||||
templateUrl: './item-withdrawn-reinstate-modal.component.html',
|
templateUrl: './item-withdrawn-reinstate-modal.component.html',
|
||||||
styleUrls: ['./item-withdrawn-reinstate-modal.component.scss'],
|
styleUrls: ['./item-withdrawn-reinstate-modal.component.scss'],
|
||||||
imports: [
|
imports: [
|
||||||
|
NgIf,
|
||||||
TranslateModule,
|
TranslateModule,
|
||||||
LoadingComponent,
|
LoadingComponent,
|
||||||
FormsModule,
|
FormsModule,
|
@@ -3,15 +3,15 @@ import { Router } from '@angular/router';
|
|||||||
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
||||||
import { TranslateService } from '@ngx-translate/core';
|
import { TranslateService } from '@ngx-translate/core';
|
||||||
import { take } from 'rxjs/operators';
|
import { take } from 'rxjs/operators';
|
||||||
import { Item } from 'src/app/core/shared/item.model';
|
|
||||||
|
|
||||||
import { AuthorizationDataService } from '../../../core/data/feature-authorization/authorization-data.service';
|
import { AuthorizationDataService } from '../../../core/data/feature-authorization/authorization-data.service';
|
||||||
import { ItemDataService } from '../../../core/data/item-data.service';
|
import { ItemDataService } from '../../../core/data/item-data.service';
|
||||||
import { RemoteData } from '../../../core/data/remote-data';
|
import { RemoteData } from '../../../core/data/remote-data';
|
||||||
import { QualityAssuranceEventDataService } from '../../../core/notifications/qa/events/quality-assurance-event-data.service';
|
import { QualityAssuranceEventDataService } from '../../../core/notifications/qa/events/quality-assurance-event-data.service';
|
||||||
import { QualityAssuranceEventObject } from '../../../core/notifications/qa/models/quality-assurance-event.model';
|
import { QualityAssuranceEventObject } from '../../../core/notifications/qa/models/quality-assurance-event.model';
|
||||||
|
import { Item } from '../../../core/shared/item.model';
|
||||||
import { getFirstCompletedRemoteData } from '../../../core/shared/operators';
|
import { getFirstCompletedRemoteData } from '../../../core/shared/operators';
|
||||||
import { ItemWithdrawnReinstateModalComponent } from '../../correction-suggestion/withdrawn-reinstate-modal.component';
|
import { ItemWithdrawnReinstateModalComponent } from '../../correction-suggestion/item-withdrawn-reinstate-modal.component';
|
||||||
import { NotificationsService } from '../../notifications/notifications.service';
|
import { NotificationsService } from '../../notifications/notifications.service';
|
||||||
|
|
||||||
export const REQUEST_WITHDRAWN = 'REQUEST/WITHDRAWN';
|
export const REQUEST_WITHDRAWN = 'REQUEST/WITHDRAWN';
|
||||||
|
Reference in New Issue
Block a user