Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
f-osorio committed Oct 23, 2024
1 parent cb5e3b0 commit 3592a4a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/stores/profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -1420,12 +1420,12 @@ export const useProfileStore = defineStore('profile', {

//clear the cache if the value was deleted
if (value.trim() == ""){
if (Object.keys(cachePt).includes(componentGuid)){
delete cachePt[componentGuid]
}
for (let guid of Object.keys(cacheGuid)){
cleanCacheGuid(cacheGuid, JSON.parse(JSON.stringify(pt.userValue)), guid)
}
if (Object.keys(cachePt).includes(componentGuid)){
delete cachePt[componentGuid]
}
for (let guid of Object.keys(cacheGuid)){
cleanCacheGuid(cacheGuid, JSON.parse(JSON.stringify(pt.userValue)), guid)
}
}

// console.log("--------pt 1------------")
Expand Down

0 comments on commit 3592a4a

Please sign in to comment.