Rather than wrapping this in an `if`, put it in `app/common/views/dashboards/transaction.js`.