remove debug console outputs

Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
Stefan Dej 2021-07-25 22:02:25 +02:00
parent c642fc2b15
commit 1fda940f11
5 changed files with 3 additions and 14 deletions

View File

@ -165,14 +165,7 @@ export default class TheSidebar extends Mixins(BaseMixin) {
}
mounted() {
window.console.log("lg", this.$vuetify.breakpoint.lgAndUp)
this.naviDrawer = this.$vuetify.breakpoint.lgAndUp
}
@Watch('naviDrawer')
naviDrawerChanged(newVal: any) {
window.console.log("naviDrawerChanged", newVal)
}
}
</script>

View File

@ -32,7 +32,6 @@ export const actions: ActionTree<ServerState, RootState> = {
},
initServerInfo: function ({ dispatch, commit }, payload) {
window.console.debug("init ServerInfo")
// delete old plugin entries
if ('plugins' in payload) delete payload.plugins
if ('failed_plugins' in payload) delete payload.failed_plugins

View File

@ -44,7 +44,7 @@ export const mutations: MutationTree<ServerState> = {
},
setGcodeStore(state, payload: any) {
const t0 = performance.now()
//const t0 = performance.now()
if (payload.length >= maxEventHistory) {
payload = payload.slice(payload.length - maxEventHistory);
@ -65,8 +65,8 @@ export const mutations: MutationTree<ServerState> = {
})
})
const t1 = performance.now()
window.console.debug("import events", t1-t0)
//const t1 = performance.now()
//window.console.debug("import events", t1-t0)
},
addEvent(state, payload) {

View File

@ -13,8 +13,6 @@ export const actions: ActionTree<ServerUpdateMangerState, RootState> = {
},
getStatus({ commit }, payload) {
window.console.log("response sync update")
commit('setStatus', payload)
},
}

View File

@ -9,7 +9,6 @@ export const actions: ActionTree<SocketState, RootState> = {
},
setData({ commit }, payload) {
window.console.log(payload)
commit('setData', payload)
},