UNPKG

@ministryofjustice/hmpps-digital-prison-reporting-frontend

Version:

The Digital Prison Reporting Frontend contains templates and code to help display data effectively in UI applications.

20 lines (16 loc) 581 B
'use strict'; var utils = require('../../utils.js'); var UserReports = require('../../../../../types/UserReports.js'); class ViewAsyncDashboardController { layoutPath; services; constructor(layoutPath, services) { this.layoutPath = layoutPath; this.services = services; } applyFilters = async (req, res, _next) => { await utils.default.applyDashboardInteractiveQuery(req, res, 'filters', UserReports.LoadType.ASYNC); }; } exports.ViewAsyncDashboardController = ViewAsyncDashboardController; //# sourceMappingURL=controller.js.map