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

17 lines
430 B
JavaScript
Raw Normal View History

2019-11-10 10:08:44 +00:00
import ngModule from '../module';
import ModuleMain from 'salix/components/module-main';
2021-11-17 08:11:26 +00:00
export default class Items extends ModuleMain {
constructor($element, $) {
super($element, $);
2024-09-02 11:36:03 +00:00
}
async $onInit() {
this.$state.go('home');
window.location.href = await this.vnApp.getUrl(`claim/`);
2021-11-17 08:11:26 +00:00
}
}
2019-11-10 10:08:44 +00:00
ngModule.vnComponent('vnItems', {
controller: Items,
template: require('./index.html')
});