diff --git a/plugins/contact-resources/src/utils.ts b/plugins/contact-resources/src/utils.ts index 988118d02d..d8858bdb8c 100644 --- a/plugins/contact-resources/src/utils.ts +++ b/plugins/contact-resources/src/utils.ts @@ -334,14 +334,6 @@ export const myEmployeeStore = derived( export const personByIdStore = writable>>(new Map()) export const socialIdsStore = writable>>([]) -// NOTE -// In-workspace social ids of the current employee -// Should not be used except some rare cases -// Use getCurrentAccount().socialIds instead -export const mySocialIdsStore = derived([currentEmployeeRefStore, socialIdsStore], ([myEmployeeRef, socialIds]) => { - return socialIds.filter((si) => si.attachedTo === myEmployeeRef) -}) - /** * [Ref => SocialIdentity[]] mapping */ diff --git a/plugins/setting-resources/src/components/Profile.svelte b/plugins/setting-resources/src/components/Profile.svelte index 9764c05e48..300ec54a17 100644 --- a/plugins/setting-resources/src/components/Profile.svelte +++ b/plugins/setting-resources/src/components/Profile.svelte @@ -14,7 +14,7 @@ -->