cleanup console logging

This commit is contained in:
Jonathan Shook 2020-09-16 22:57:07 -05:00
parent 58afb5a171
commit a49b1bbf17
6 changed files with 5 additions and 7 deletions

View File

@ -89,7 +89,7 @@ export default {
}, },
afterMenuTransition() { afterMenuTransition() {
this.drawer = !this.drawer; this.drawer = !this.drawer;
console.log("drawer now " + (this.drawer ? "true" : "false")) // console.log("drawer now " + (this.drawer ? "true" : "false"))
}, },
toggleMenuLocked() { toggleMenuLocked() {
this.$store.dispatch("docs/setIsMenuLocked", !this.$store.getters["docs/getIsMenuLocked"]) this.$store.dispatch("docs/setIsMenuLocked", !this.$store.getters["docs/getIsMenuLocked"])

View File

@ -85,7 +85,7 @@ export default {
} }
}, },
created() { created() {
console.log("created component..."); // console.log("created component...");
this.$store.dispatch('workspaces/initWorkspaces', "selector load"); this.$store.dispatch('workspaces/initWorkspaces', "selector load");
} }
} }

View File

@ -45,7 +45,7 @@ export default {
return x.path.match(/\/index(.md)?/) return x.path.match(/\/index(.md)?/)
}); });
active_topic = found_topic ? found_topic : found_index ? found_index : active_topic; active_topic = found_topic ? found_topic : found_index ? found_index : active_topic;
console.log("active_topic=" + active_topic.path); // console.log("active_topic=" + active_topic.path);
} }
return active_topic; return active_topic;

View File

@ -44,7 +44,7 @@
}, },
methods: { methods: {
changeTestVal(data) { changeTestVal(data) {
console.log("data:" + data); // console.log("data:" + data);
this.testval = !this.testval; this.testval = !this.testval;
} }
} }

View File

@ -111,14 +111,13 @@ export default {
return name; return name;
}, },
purgeWorkspace: function (ws) { purgeWorkspace: function (ws) {
console.log("purging " + ws); // console.log("purging " + ws);
this.$store.dispatch('workspaces/purgeWorkspace', ws); this.$store.dispatch('workspaces/purgeWorkspace', ws);
// this.$store.dispatch("workspaces/setWorkspace") // this.$store.dispatch("workspaces/setWorkspace")
this.$forceUpdate(); this.$forceUpdate();
}, },
}, },
created() { created() {
console.log("created component...");
this.$store.dispatch('workspaces/initWorkspaces', "workspace panel load"); this.$store.dispatch('workspaces/initWorkspaces', "workspace panel load");
} }
} }

View File

@ -75,7 +75,6 @@ export default {
}, },
}, },
created() { created() {
console.log("created component...");
this.$store.dispatch('workspaces/initWorkspaces', "workspace panel load"); this.$store.dispatch('workspaces/initWorkspaces', "workspace panel load");
} }
} }