salix/modules/item/front/history/index.js

26 lines
535 B
JavaScript
Raw Normal View History

import ngModule from '../module';
2018-07-16 07:28:32 +00:00
class Controller {
constructor($stateParams) {
this.$stateParams = $stateParams;
this.filter = {
include: [{
relation: "item"
},
{
relation: "user",
scope: {
fields: ["name"]
}
}]
};
}
}
Controller.$inject = ['$stateParams'];
ngModule.component('vnItemHistory', {
template: require('./index.html'),
2018-07-16 07:28:32 +00:00
controller: Controller
});