-
Notifications
You must be signed in to change notification settings - Fork 24
Labels
Description
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
The isVisible callback of the useFileActionsDelete composable is very restrictive. It requires one of three routes of the files app to be the current route. This makes the composable unusable in other apps.
Reproduction Steps
- Embed
useFileActionsDeletecomposable in another app - Call
isVisibleof the actions correctly withspaceandresourcesinactionOptions
Expected Outcome
A Delete action becomes available on files or folders the current user has write access to
Actual Outcome
No Delete action becomes available, ever.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done