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
Composable useFileActionsDelete can only be used by the files app #1806
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 useFileActionsDelete composable in another app
Call isVisible of the actions correctly with space and resources in actionOptions
Expected Outcome
A Delete action becomes available on files or folders the current user has write access to
Activity