refactor: remove debug output
Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
1 file changed
-2
@@ -158,8 +158,6 @@ export default class TheSidebar extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
showInNavi(route: AppRoute): boolean {
|
||||
window.console.log(route)
|
||||
|
||||
if (['shutdown', 'error', 'disconnected'].includes(this.klippy_state) && !route.alwaysShow) return false
|
||||
else if (route.title === 'Webcam' && !this.boolNaviWebcam) return false
|
||||
else if (route.moonrakerComponent && !this.moonrakerComponents.includes(route.moonrakerComponent)) return false
|
||||
|
||||
Reference in new issue
Block a user