App crashes when accesing a shared collection directly from the home project
When a user shares a collection that lives below it's "home project", and another user attempts to access it, is getting the following error on the JS console:
react-dom.production.min.js:198 TypeError: Cannot read properties of undefined (reading 'indexOf') at Function.mapToProps (collection-panel.tsx:124) at r (wrapMapToProps.js:43) at selectorFactory.js:52 at h (selectorFactory.js:69) at selectorFactory.js:74 at Object.run (connectAdvanced.js:26) at a.onStateChange (connectAdvanced.js:199) at Object.notify (Subscription.js:26) at e.notifyNestedSubs (Subscription.js:65) at a.onStateChange (connectAdvanced.js:202)
I think this has to do with the read-only check that wb2 does; probably
undefined when the parent is a user.