Skip to content

Commit ea5dfc8

Browse files
author
Andrea Barbasso
committed
[DSC-2385] fix build and test issues
1 parent 62ace95 commit ea5dfc8

File tree

2 files changed

+6
-17
lines changed

2 files changed

+6
-17
lines changed

src/app/item-page/edit-item-page/item-delete/item-delete.component.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ import { NotificationsService } from '../../../shared/notifications/notification
5050
import { TranslateService } from '@ngx-translate/core';
5151
import { followLink } from '../../../shared/utils/follow-link-config.model';
5252
import { getItemEditRoute } from '../../item-page-routing-paths';
53+
import { VirtualMetadata } from '../virtual-metadata/virtual-metadata.component';
54+
import { ActivatedRoute, Router } from '@angular/router';
5355

5456
/**
5557
* Data Transfer Object used to prevent the HTML template to call function returning Observables

src/app/shared/notifications/process-notification/process-notification.component.ts

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
import {
2-
AsyncPipe,
3-
NgForOf,
4-
NgIf,
5-
NgTemplateOutlet,
6-
} from '@angular/common';
71
import {
82
ChangeDetectionStrategy,
93
ChangeDetectorRef,
@@ -38,6 +32,10 @@ import { getAllCompletedRemoteData, getFirstCompletedRemoteData } from '../../..
3832
import { DSONameService } from '../../../core/breadcrumbs/dso-name.service';
3933
import { DSpaceObject } from '../../../core/shared/dspace-object.model';
4034
import { RemoteData } from '../../../core/data/remote-data';
35+
import { TranslateModule } from '@ngx-translate/core';
36+
import { ThemedFileDownloadLinkComponent } from '../../file-download-link/themed-file-download-link.component';
37+
import { FileSizePipe } from '../../utils/file-size-pipe';
38+
import { BtnDisabledDirective } from '../../btn-disabled.directive';
4139

4240
@Component({
4341
selector: 'ds-process-notification',
@@ -56,17 +54,6 @@ import { RemoteData } from '../../../core/data/remote-data';
5654
templateUrl: './process-notification.component.html',
5755
styleUrls: ['./process-notification.component.scss'],
5856
changeDetection: ChangeDetectionStrategy.OnPush,
59-
imports: [
60-
NgIf,
61-
AsyncPipe,
62-
NgTemplateOutlet,
63-
TranslateModule,
64-
ThemedFileDownloadLinkComponent,
65-
FileSizePipe,
66-
NgForOf,
67-
BtnDisabledDirective,
68-
],
69-
standalone: true,
7057
})
7158

7259
export class ProcessNotificationComponent implements OnInit, OnDestroy {

0 commit comments

Comments
 (0)