Closed gallayl closed 5 years ago
From context menu seems ok. If Copy is started from the Actions menu, however, the user still cannot access parent folder.
Update: However closing the dialog has been fixed in https://github.com/SenseNet/sn-client/pull/305 , I'm still unable to navigate upwards at the moment :(
π Bug Report
Error navigating upwards if the parent doesn't have a Workspace reference expanded
π¦ Package / Application
pickers-react
π Version
@latest dev
π Describe the bug
when you try to navigate upwards to a content with no Workspace ref expanded, it won't do anything. There's also some unhandled null checks.
π Steps To Reproduce
π― Current behavior
You will also get an error on the console:
π€ Expected behavior
canSetParent: (parent: GenericContent) => boolean
callback)πΌ Screenshots
π» Code sample (for developers)
https://github.com/SenseNet/sn-client/blob/01708dcb33000308f3e32007012395730c61e3cc/packages/sn-pickers-react/src/ListPicker/ListPicker.tsx#L81
π Your Environment (for developers)
π Your environment (for apps / examples)
a frying pan
π¨ Additional context