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:
parent
338d2e16d5
commit
b17993281a
3 changed files with 0 additions and 4 deletions
|
@ -129,7 +129,6 @@ export default {
|
|||
return this.$store.state.watchTelemetry;
|
||||
},
|
||||
set(value) {
|
||||
console.warn("Setting watchTelemetry to " + value);
|
||||
this.$store.commit("setTelemetryPreference", value);
|
||||
},
|
||||
},
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue