2019-09-25 18:06:42 +00:00
|
|
|
import ngModule from '../module';
|
2019-11-10 10:08:44 +00:00
|
|
|
import ModuleMain from 'salix/components/module-main';
|
2019-09-25 18:06:42 +00:00
|
|
|
|
2024-09-11 12:42:21 +00:00
|
|
|
export default class Zone extends ModuleMain {
|
2020-03-07 12:52:02 +00:00
|
|
|
constructor($element, $) {
|
|
|
|
super($element, $);
|
|
|
|
}
|
2024-09-02 11:00:22 +00:00
|
|
|
async $onInit() {
|
|
|
|
this.$state.go('home');
|
|
|
|
window.location.href = await this.vnApp.getUrl(`zone/`);
|
2020-03-07 12:52:02 +00:00
|
|
|
}
|
|
|
|
}
|
2019-11-10 10:08:44 +00:00
|
|
|
|
|
|
|
ngModule.vnComponent('vnZone', {
|
|
|
|
controller: Zone,
|
2019-09-25 18:06:42 +00:00
|
|
|
template: require('./index.html')
|
|
|
|
});
|