Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
fix(tasks): no delete prop btn in composer (#2873)
Seamusb90b4e1c24c3
diff --git a/js/app/packages/block-md/component/ComposeTask.tsx b/js/app/packages/block-md/component/ComposeTask.tsxindex a68164044c..d67fab8700 100644--- a/js/app/packages/block-md/component/ComposeTask.tsx+++ b/js/app/packages/block-md/component/ComposeTask.tsx@@ -670,6 +670,8 @@ export function ComposeTask(props: ComposeTaskProps) {<PropertyGridproperties={properties()}columns={2}+ withDelete={false}+ withPin={false}></PropertyGrid><Modals /></div>diff --git a/js/app/packages/core/component/Properties/component/panel/PropertyGrid.tsx b/js/app/packages/core/component/Properties/component/panel/PropertyGrid.tsxindex 804f49f7ed..3bc9b17929 100644--- a/js/app/packages/core/component/Properties/component/panel/PropertyGrid.tsx+++ b/js/app/packages/core/component/Properties/component/panel/PropertyGrid.tsx@@ -8,6 +8,8 @@ import { PropertyRow } from './PropertyRow';interface PropertiesListProps {properties: Property[];columns?: number;+ withDelete?: boolean;+ withPin?: boolean;}export const PropertyGrid: Component<PropertiesListProps> = (props) => {@@ -86,7 +88,6 @@ export const PropertyGrid: Component<PropertiesListProps> = (props) => {<PropertyRowproperty={property}onValueClick={handleValueClick}- withDeletewithPin/>)}@@ -100,7 +101,6 @@ export const PropertyGrid: Component<PropertiesListProps> = (props) => {<PropertyRowproperty={property}onValueClick={handleValueClick}- withDeletewithPin/>)}@@ -119,8 +119,8 @@ export const PropertyGrid: Component<PropertiesListProps> = (props) => {<PropertyRowproperty={property}onValueClick={handleValueClick}- withDelete- withPin+ withDelete={props.withDelete}+ withPin={props.withPin}/>)}</For>