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:
Alisa Ismailati
2023-11-30 13:01:46 +01:00
parent 805e98b837
commit a4b0c5a13d
9 changed files with 45 additions and 12 deletions

View File

@@ -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();
}
}