Skip to content

In "Shared via link" and "Shared with others", adding or deleting a link drops the selection and empties the sidebar #3669

Closed

Description

@AlexAndBear

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

In "Shared via link" and "Shared with others", adding or deleting a link drops the selection and empties the sidebar. Cause: packages/web-app-files/src/views/shares/SharedViaLink.vue:152-171 (same in SharedWithOthers.vue:217-235) start the reload without awaiting it and re-select against the old list; the loaders clear the list first.

Reproduction Steps

  1. Open Shares → Shared via link.
  2. Open the sharing panel of an item and add or delete a link.

Expected Outcome

The sidebar stays on the item and shows the updated links.

Actual Outcome

The list reloads, the selection is lost and the sidebar shows "Select a file or folder". The server state is correct.

Screenshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions