salix/client/order/src/descriptor/index.js

27 lines
515 B
JavaScript
Raw Normal View History

2018-07-18 12:21:58 +00:00
import ngModule from '../module';
import './style.scss';
class Controller {
2018-07-18 12:44:14 +00:00
constructor($translate) {
this.translate = $translate;
2018-07-18 12:21:58 +00:00
}
2018-10-03 06:00:19 +00:00
set quicklinks(value = {}) {
this._quicklinks = Object.assign(value, this._quicklinks);
}
get quicklinks() {
return this._quicklinks;
}
2018-07-18 12:21:58 +00:00
}
2018-07-18 12:44:14 +00:00
Controller.$inject = ['$translate'];
2018-07-18 12:21:58 +00:00
ngModule.component('vnOrderDescriptor', {
template: require('./index.html'),
bindings: {
order: '<'
},
controller: Controller
});