Files
cbsnexora/src/app/system/manage-surveys/manage-surveys.resolver.ts
T
Adam Saghy 19a14e5b5b Upgrade to Angular 16
Merge `angular-update-16` into `dev` branch
2025-05-23 18:47:20 +02:00

28 lines
566 B
TypeScript

/** Angular Imports */
import { Injectable } from '@angular/core';
/** rxjs Imports */
import { Observable } from 'rxjs';
/** Custom Services */
import { SystemService } from '../system.service';
/**
* Surveys data resolver.
*/
@Injectable()
export class ManageSurveysResolver {
/**
* @param {SystemService} systemService System service.
*/
constructor(private systemService: SystemService) {}
/**
* Returns the Surveys data.
* @returns {Observable<any>}
*/
resolve(): Observable<any> {
return this.systemService.getSurveys();
}
}