cleaning up console.logs
This commit is contained in:
parent
9374b0e290
commit
19fdc1e74c
4 changed files with 1 additions and 7 deletions
|
|
@ -27,7 +27,6 @@ export default {
|
|||
},
|
||||
emits: ['update:modelValue'],
|
||||
data() {
|
||||
console.log(this.fallback)
|
||||
return {
|
||||
manualEntry: false,
|
||||
availableOptions: [
|
||||
|
|
|
|||
|
|
@ -164,7 +164,6 @@ const DEFAULT_STATE = {
|
|||
...LOCAL_DEFAULT_CONFIG,
|
||||
},
|
||||
}
|
||||
console.log('===', ROOT_STATE_DEFINITIONS)
|
||||
|
||||
export const useInstanceStore = defineStore('instance', {
|
||||
state: () => ({ ...DEFAULT_STATE }),
|
||||
|
|
|
|||
|
|
@ -307,8 +307,6 @@ export const _mergePrefs = (recent, stale) => {
|
|||
defaultState: ROOT_CONFIG,
|
||||
})
|
||||
|
||||
console.log(path, args[0])
|
||||
|
||||
return finalValue !== undefined
|
||||
})
|
||||
.forEach(({ path, operation, args }) => {
|
||||
|
|
@ -773,7 +771,7 @@ export const useSyncConfigStore = defineStore('sync_config', {
|
|||
},
|
||||
persist: {
|
||||
afterLoad(state) {
|
||||
console.log('Validating persisted state of SyncConfig')
|
||||
console.debug('Validating persisted state of SyncConfig')
|
||||
const newState = { ...state }
|
||||
const newEntries = Object.entries(newState.prefsStorage.simple).map(
|
||||
([path, value]) => {
|
||||
|
|
|
|||
|
|
@ -155,7 +155,6 @@ export const _mergeHighlights = (recent, stale) => {
|
|||
if (!recent) return stale
|
||||
const { _journal: recentJournal, ...recentHighlight } = recent
|
||||
const { _journal: staleJournal } = stale
|
||||
console.log(recentHighlight)
|
||||
/** Journal entry format:
|
||||
* user: user to entry in highlight storage
|
||||
* timestamp: timestamp of the change
|
||||
|
|
@ -333,7 +332,6 @@ export const useUserHighlightStore = defineStore('user_highlight', {
|
|||
if (stale && recent && !this.dirty) {
|
||||
this.cache._timestamp = Math.min(stale._timestamp, recent._timestamp)
|
||||
}
|
||||
console.log('CACHE', this.cache)
|
||||
this.highlight = this.cache.highlight
|
||||
},
|
||||
pushHighlight({ force = false } = {}) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue