2021-01-24 17:25:23 +08:00
|
|
|
import { AbstractViewLeft } from 'Knoin/AbstractViews';
|
2014-09-06 05:44:29 +08:00
|
|
|
|
2021-01-24 17:25:23 +08:00
|
|
|
class MenuSettingsAdminView extends AbstractViewLeft {
|
2016-08-17 06:01:20 +08:00
|
|
|
/**
|
|
|
|
* @param {?} screen
|
|
|
|
*/
|
|
|
|
constructor(screen) {
|
2021-01-24 17:25:23 +08:00
|
|
|
super('Admin/Settings/Menu', 'AdminMenu');
|
2014-09-06 05:44:29 +08:00
|
|
|
|
2016-08-17 06:01:20 +08:00
|
|
|
this.menu = screen.menu;
|
|
|
|
}
|
2014-09-06 05:44:29 +08:00
|
|
|
|
2016-08-17 06:01:20 +08:00
|
|
|
link(route) {
|
|
|
|
return '#/' + route;
|
|
|
|
}
|
|
|
|
}
|
2014-09-06 05:44:29 +08:00
|
|
|
|
2021-01-22 23:32:08 +08:00
|
|
|
export { MenuSettingsAdminView };
|