middleware/recordOverview.js
function (cb) {

                    let actions = req.linz.model.linz.formtools.overview.actions;

                    if (!actions.length) {
                        return cb(null);
                    }

                    parseDisabledProperties(req.linz.record, actions)
                        .then((parsedActions) => {

                            actions = parsedActions;

                            return cb();

                        })
                        .catch(cb);

                }
function (cb) {

                    let actions = req.linz.model.linz.formtools.overview.actions;

                    if (!actions.length) {
                        return cb(null);
                    }

                    parseDisabledProperties(req.linz.record, actions)
                        .then((parsedActions) => {

                            actions = parsedActions;

                            return cb();

                        })
                        .catch(cb);

                }
function ( cb ) { let actions = req . linz . model . linz . formtools . overview . actions ; if ( ! actions . length ) { return cb ( null ) ; } parseDisabledProperties ( req . linz . record , actions ) . then ( ( parsedActions ) => { actions = parsedActions ; return cb ( ) ; } ) . catch ( cb ) ; }
Check if we need to process custom actions.
Check if we need to process custom actions .