urbit / landscape

Product board for Landscape.
20 stars 6 forks source link

When editing settings on a channel in Groups: c.includes is not a function #1493

Open awesomebjt opened 1 year ago

awesomebjt commented 1 year ago

I created a new channel in Landscape. A Notebook with write access for me, and comment access for anyone. I set a custom accent color. I got the following error after clicking Save, and get it every time I try opening the channel.

isWriter (webpack:///groups/lib.ts 201:19)
isWriter (webpack:///src/views/landscape/components/ResourceSkeleton.tsx 105:7)
Ch (webpack:///node_modules/react-dom/cjs/react-dom.production.min.js 157:136)
b?b.sibling:null}I (webpack:///node_modules/react-dom/cjs/react-dom.production.min.js 267:459)
Pj (webpack:///node_modules/react-dom/cjs/react-dom.production.min.js 250:349)
Pj (webpack:///node_modules/react-dom/cjs/react-dom.production.min.js 250:280)
Pj (webpack:///node_modules/react-dom/cjs/react-dom.production.min.js 250:137)
Lj (webpack:///node_modules/react-dom/cjs/react-dom.production.min.js 243:162)
jg (webpack:///node_modules/react-dom/cjs/react-dom.production.min.js 123:114)
unstable_next (webpack:///node_modules/scheduler/cjs/scheduler.production.min.js 18:342)
eg (webpack:///node_modules/react-dom/cjs/react-dom.production.min.js 122:324)
jg (webpack:///node_modules/react-dom/cjs/react-dom.production.min.js 123:63)
eg (webpack:///node_modules/react-dom/cjs/react-dom.production.min.js 122:427)
Hb (webpack:///node_modules/react-dom/cjs/react-dom.production.min.js 292:100)
$c (webpack:///node_modules/react-dom/cjs/react-dom.production.min.js 73:354)
awesomebjt commented 1 year ago

It appears setting write access to myself only rather than the default (all group members can post) is what kills it.

bantus-follus commented 1 year ago

I've been running into the same error, happens in any group I create, and hae had it on mmultiple ships. It seems to be just setting a channel to 'host only' that kills it.