forked from trent_larson/crowd-funder-for-time-pwa
fix: remove more references to clearAllCaches
This commit is contained in:
@@ -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<T>(value: unknown, defaultValue: T): T {
|
||||
if (typeof value === "string") {
|
||||
@@ -1630,7 +1632,7 @@ declare module "@vue/runtime-core" {
|
||||
// Cache management methods
|
||||
$refreshSettings(): Promise<Settings>;
|
||||
$refreshContacts(): Promise<Contact[]>;
|
||||
$clearAllCaches(): void;
|
||||
// $clearAllCaches(): void;
|
||||
|
||||
// High-level entity operations (eliminate verbose SQL patterns)
|
||||
$mapResults<T>(
|
||||
|
||||
Reference in New Issue
Block a user