mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-09 02:54:13 +00:00
cherry-picked "[CST-12791] changed the route for suggestions to be be accessible to any logged in user" to CST-12109
This commit is contained in:
@@ -8,6 +8,8 @@ import { QualityAssuranceSourceDataService } from '../../../core/notifications/q
|
||||
import { QualityAssuranceSourceObject } from '../../../core/notifications/qa/models/quality-assurance-source.model';
|
||||
import { map, tap } from 'rxjs/operators';
|
||||
import { RemoteData } from '../../../core/data/remote-data';
|
||||
import { getNotificatioQualityAssuranceRoute } from '../../../admin/admin-routing-paths';
|
||||
|
||||
@Component({
|
||||
selector: 'ds-qa-event-notification',
|
||||
templateUrl: './qa-event-notification.component.html',
|
||||
@@ -50,4 +52,12 @@ export class QaEventNotificationComponent {
|
||||
})
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the quality assurance route.
|
||||
* @returns The quality assurance route.
|
||||
*/
|
||||
getQualityAssuranceRoute(): string {
|
||||
return getNotificatioQualityAssuranceRoute();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user