a tool for shared writing and social publishing
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

don't check checkboxes if no write permission

+2
+2
components/Blocks/index.tsx
··· 437 437 className?: string; 438 438 }, 439 439 ) => { 440 + let entity_set = useEntitySetContext(); 440 441 let checklist = useEntity(props.value, "block/check-list"); 441 442 let headingLevel = useEntity(props.value, "block/heading-level")?.data.value; 442 443 let children = useEntity(props.value, "card/block"); ··· 485 486 {checklist && ( 486 487 <button 487 488 onClick={() => { 489 + if (!entity_set.permissions.write) return; 488 490 rep?.mutate.assertFact({ 489 491 entity: props.value, 490 492 attribute: "block/check-list",