bansho/app/components/directive/table/cell_status_duration/cell_status_duration.js

12 lines
291 B
JavaScript

'use strict';
angular.module('bansho.table')
.controller('CellStatusDurationCtrl', [function () {
angular.noop();
}])
.run(['tableGlobalConfig', function (tableGlobalConfig) {
tableGlobalConfig.cellToFieldsMap.status_duration = ['last_state_change'];
}]);