web
web copied to clipboard
Hidden share shows Hide action
Describe the bug
Hidden shares show the Hide action in the right sidebar Actions panel.
Steps to reproduce
- Receive a share
- Hide it
- Use filter to show hidden shares
- Select the hidden share
- open the right sidebar
- Navigate into the
Actionspanel
Expected behavior
Actions panel shows the Unhide action
Actual behavior
Actions panel shows the Hide action
It does not only affect the "Hide"-action, but basically all actions that depend on the state of some resource property (at least for shares). The issue seems to be this: https://github.com/owncloud/web/blob/master/packages/web-pkg/src/components/SideBar/FileSideBar.vue#L362