19 lines
440 B
JavaScript
19 lines
440 B
JavaScript
import ngModule from '../module';
|
|
import ModuleMain from 'salix/components/module-main';
|
|
|
|
export default class Monitor extends ModuleMain {
|
|
constructor($element, $) {
|
|
super($element, $);
|
|
}
|
|
|
|
async $onInit() {
|
|
this.$state.go('home');
|
|
window.location.href = await this.vnApp.getUrl(`monitor/`);
|
|
}
|
|
}
|
|
|
|
ngModule.vnComponent('vnMonitor', {
|
|
controller: Monitor,
|
|
template: require('./index.html')
|
|
});
|