0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-11-24 20:25:17 +00:00

fix: forgor to remove debug logs

This commit is contained in:
Nikita Krupin 2022-12-26 03:25:17 -05:00
parent 338d2e16d5
commit b17993281a
3 changed files with 0 additions and 4 deletions

View file

@ -129,7 +129,6 @@ export default {
return this.$store.state.watchTelemetry;
},
set(value) {
console.warn("Setting watchTelemetry to " + value);
this.$store.commit("setTelemetryPreference", value);
},
},

View file

@ -358,7 +358,6 @@ export default {
console.log("recommendations:", this.recommends);
//--- API WatchTime call ---//
console.warn("WatchTime:", this.$store.state.watchTelemetry);
if (this.$store.state.watchTelemetry) {
this.playbackTracking = result.playbackTracking;
this.st = 0;

View file

@ -13,11 +13,9 @@ export const mutations = {
(JSON.parse(localStorage.getItem("watchTelemetry")) === false)
);
// JSON.parse(localStorage.getItem("watchTelemetry")) === true; // defaults to false
console.warn("initTelemetryPreference", state.watchTelemetry);
}
},
setTelemetryPreference(state, payload) {
console.warn("setTelemetryPreference", payload);
state.watchTelemetry = payload;
localStorage.setItem("watchTelemetry", payload);
},