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

18 lines
436 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() {
const url = await this.vnApp.getUrl(`shelving/`);
window.location.href = url;
2022-05-24 10:50:22 +00:00
}
}
ngModule.vnComponent('vnShelving', {
controller: Shelving,
template: require('./index.html')
});