2019-11-10 10:08:44 +00:00
|
|
|
import ngModule from '../module';
|
|
|
|
import ModuleMain from 'salix/components/module-main';
|
|
|
|
|
2020-03-13 19:33:12 +00:00
|
|
|
export default class Travel extends ModuleMain {
|
2023-03-24 07:25:37 +00:00
|
|
|
constructor() {
|
|
|
|
super();
|
|
|
|
}
|
2024-10-01 10:38:52 +00:00
|
|
|
async $onInit() {
|
|
|
|
this.$state.go('home');
|
|
|
|
window.location.href = await this.vnApp.getUrl(`travel/`);
|
|
|
|
}
|
2020-03-13 19:33:12 +00:00
|
|
|
}
|
2019-11-10 10:08:44 +00:00
|
|
|
|
|
|
|
ngModule.vnComponent('vnTravel', {
|
|
|
|
controller: Travel,
|
|
|
|
template: require('./index.html')
|
|
|
|
});
|