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

19 lines
432 B
JavaScript
Raw Permalink Normal View History

2019-11-10 10:08:44 +00:00
import ngModule from '../module';
import ModuleMain from 'salix/components/module-main';
export default class Claim extends ModuleMain {
constructor($element, $) {
super($element, $);
}
async $onInit() {
this.$state.go('home');
2024-08-28 07:42:59 +00:00
window.location.href = await this.vnApp.getUrl(`claim/`);
}
}
2019-11-10 10:08:44 +00:00
ngModule.vnComponent('vnClaim', {
controller: Claim,
2019-11-10 10:08:44 +00:00
template: require('./index.html')
});