do not fail on debug

This commit is contained in:
Henry Jameson 2026-02-20 11:14:27 +02:00
commit 11ce0a8e3e

View file

@ -598,8 +598,8 @@ export const useSyncConfigStore = defineStore('sync_config', {
}
console.log('======')
console.log('CACHE', cache.prefsStorage.simple.conversationDisplay)
console.log('LIVE', live.prefsStorage.simple.conversationDisplay)
console.log('CACHE', cache?.prefsStorage?.simple?.conversationDisplay)
console.log('LIVE', live?.prefsStorage?.simple?.conversationDisplay)
if (cache._timestamp > live._timestamp) {
console.log('C > L')
} else if (cache._timestamp === live._timestamp) {
@ -609,8 +609,8 @@ export const useSyncConfigStore = defineStore('sync_config', {
}
let { recent, stale, needUpload } = _getRecentData(cache, live)
console.log('======')
console.log('RECENT', recent.prefsStorage.simple.conversationDisplay)
console.log('STALE', stale.prefsStorage.simple.conversationDisplay)
console.log('RECENT', recent.prefsStorage?.simple?.conversationDisplay)
console.log('STALE', stale?.prefsStorage?.simple?.conversationDisplay)
console.log('======')
const userNew = userData.created_at > NEW_USER_DATE