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

18 lines
443 B
JavaScript
Raw Normal View History

2022-05-24 10:50:22 +00:00
import ngModule from '../module';
import ModuleMain from 'salix/components/module-main';
export default class Shelving extends ModuleMain {
constructor($element, $) {
super($element, $);
}
2024-04-30 10:41:29 +00:00
async $onInit() {
2024-05-02 10:48:11 +00:00
this.$state.go('home');
window.location.href = await this.vnApp.getUrl(`shelving/`);
2022-05-24 10:50:22 +00:00
}
}
ngModule.vnComponent('vnShelving', {
controller: Shelving,
template: require('./index.html')
});