diff --git a/src/utils/PlatformServiceMixin.ts b/src/utils/PlatformServiceMixin.ts index d622d00f..2abcdcf1 100644 --- a/src/utils/PlatformServiceMixin.ts +++ b/src/utils/PlatformServiceMixin.ts @@ -178,8 +178,8 @@ export const PlatformServiceMixin = { logger.debug( `[PlatformServiceMixin] ActiveDid changed from ${oldDid} to ${newDid}`, ); - // Clear caches that might be affected by the change - (this as any).$clearAllCaches(); + // // Clear caches that might be affected by the change + // (this as any).$clearAllCaches(); } }, immediate: true, @@ -244,6 +244,8 @@ export const PlatformServiceMixin = { /** * Self-contained implementation of parseJsonField * Safely parses JSON strings with fallback to default value + * + * Consolidate this with src/libs/util.ts parseJsonField */ _parseJsonField(value: unknown, defaultValue: T): T { if (typeof value === "string") { @@ -1630,7 +1632,7 @@ declare module "@vue/runtime-core" { // Cache management methods $refreshSettings(): Promise; $refreshContacts(): Promise; - $clearAllCaches(): void; + // $clearAllCaches(): void; // High-level entity operations (eliminate verbose SQL patterns) $mapResults(