mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 15:03:07 +00:00
feat: migrate everything to standalone and fix build errors
This commit is contained in:
@@ -1,15 +1,25 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { ActivatedRoute, RouterLink } from '@angular/router';
|
||||
|
||||
import { Observable } from 'rxjs';
|
||||
import { first, map } from 'rxjs/operators';
|
||||
|
||||
import { RemoteData } from '../../core/data/remote-data';
|
||||
import { DSpaceObject } from '../../core/shared/dspace-object.model';
|
||||
import { ResourcePoliciesComponent } from '../../shared/resource-policies/resource-policies.component';
|
||||
import { AsyncPipe } from '@angular/common';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
|
||||
@Component({
|
||||
selector: 'ds-collection-authorizations',
|
||||
templateUrl: './bitstream-authorizations.component.html',
|
||||
imports: [
|
||||
ResourcePoliciesComponent,
|
||||
AsyncPipe,
|
||||
TranslateModule,
|
||||
RouterLink
|
||||
],
|
||||
standalone: true
|
||||
})
|
||||
/**
|
||||
* Component that handles the Collection Authorizations
|
||||
|
Reference in New Issue
Block a user