refactor: remove debug output

Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
Stefan Dej committed 2021-12-26 09:45:57 +01:00
1 parent 667bb2976d
commit deb81094d0
1 file changed
-2
-2
View File
@@ -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