@ministryofjustice/hmpps-digital-prison-reporting-frontend
Version:
The Digital Prison Reporting Frontend contains templates and code to help display data effectively in UI applications.
18 lines (15 loc) • 533 B
JavaScript
import ViewReportUtils from '../../utils.js';
import { LoadType } from '../../../../../types/UserReports.js';
class ViewAsyncDashboardController {
layoutPath;
services;
constructor(layoutPath, services) {
this.layoutPath = layoutPath;
this.services = services;
}
applyFilters = async (req, res, _next) => {
await ViewReportUtils.applyDashboardInteractiveQuery(req, res, 'filters', LoadType.ASYNC);
};
}
export { ViewAsyncDashboardController };
//# sourceMappingURL=controller.js.map