refactor: remove sources selector from frontend

Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
2026-06-20 00:00:28 -04:00
parent 9845262e62
commit dfe308c046
10 changed files with 46 additions and 66 deletions
+2 -2
View File
@@ -180,10 +180,10 @@ export const useEntitiesStore = defineStore('mailEntitiesStore', () => {
* Note: Delta returns only identifiers, not full entities.
* Caller should fetch full entities for additions/modifications separately.
*/
async function delta(sources: CollectionIdentifier[]) {
async function delta(targets: CollectionIdentifier[]) {
transceiving.value = true
try {
const response = await entityService.delta({ sources })
const response = await entityService.delta({ targets })
// Process delta and update store
Object.entries(response).forEach(([, providerData]) => {