mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-13 21:13:07 +00:00
feat: migrate everything to standalone and fix build errors
This commit is contained in:
@@ -17,18 +17,22 @@ import { Router } from '@angular/router';
|
||||
import { map, switchMap } from 'rxjs/operators';
|
||||
import { PaginatedSearchOptions } from '../search/models/paginated-search-options.model';
|
||||
import { RemoteData } from '../../core/data/remote-data';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
import { NgIf, AsyncPipe } from '@angular/common';
|
||||
|
||||
|
||||
/**
|
||||
* The Rss feed button componenet.
|
||||
*/
|
||||
@Component({
|
||||
exportAs: 'rssComponent',
|
||||
selector: 'ds-rss',
|
||||
styleUrls: ['rss.component.scss'],
|
||||
templateUrl: 'rss.component.html',
|
||||
changeDetection: ChangeDetectionStrategy.Default,
|
||||
encapsulation: ViewEncapsulation.Emulated
|
||||
exportAs: 'rssComponent',
|
||||
selector: 'ds-rss',
|
||||
styleUrls: ['rss.component.scss'],
|
||||
templateUrl: 'rss.component.html',
|
||||
changeDetection: ChangeDetectionStrategy.Default,
|
||||
encapsulation: ViewEncapsulation.Emulated,
|
||||
standalone: true,
|
||||
imports: [NgIf, AsyncPipe, TranslateModule]
|
||||
})
|
||||
export class RSSComponent implements OnInit, OnDestroy {
|
||||
|
||||
|
Reference in New Issue
Block a user