2021-05-04 10:44:21 +00:00
|
|
|
import ngModule from '../module';
|
|
|
|
import ModuleMain from 'salix/components/module-main';
|
|
|
|
|
2024-08-19 14:29:36 +00:00
|
|
|
export default class Monitor extends ModuleMain {
|
|
|
|
constructor($element, $) {
|
|
|
|
super($element, $);
|
|
|
|
}
|
|
|
|
|
|
|
|
async $onInit() {
|
|
|
|
this.$state.go('home');
|
|
|
|
window.location.href = await this.vnApp.getUrl(`monitor/`);
|
|
|
|
}
|
|
|
|
}
|
2021-05-04 10:44:21 +00:00
|
|
|
|
|
|
|
ngModule.vnComponent('vnMonitor', {
|
|
|
|
controller: Monitor,
|
|
|
|
template: require('./index.html')
|
|
|
|
});
|