You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Enable/Disable sync on a mixed selection reports a failure although it worked #3902
In "Shared with me", select a synced share and an unsynced share.
Choose "Enable sync" (or "Disable sync").
Expected
Only the share that needs the change is changed; no error; the selection is cleared.
Actual
The request for the share that needs no change returns 409, so the UI shows "Failed to enable sync for the selected shares" and keeps the selection, although the server state is already correct.
Cause
packages/web-app-files/src/composables/actions/files/useFileActionsEnableSync.ts and .../useFileActionsDisableSync.ts make the action visible when some selected share needs it, but the handler then sends a request for every selected share.
Activity