diff --git a/weave-js/src/components/PagePanelComponents/Home/Browse2/WeaveEditors.tsx b/weave-js/src/components/PagePanelComponents/Home/Browse2/WeaveEditors.tsx index 705c0db0d80..a75c21069f0 100644 --- a/weave-js/src/components/PagePanelComponents/Home/Browse2/WeaveEditors.tsx +++ b/weave-js/src/components/PagePanelComponents/Home/Browse2/WeaveEditors.tsx @@ -384,7 +384,10 @@ const WeaveEditorField: FC<{ return ; } if (isAssignableTo(node.type, maybe({type: 'OpDef'}))) { - return ; + return ; + } + if (isAssignableTo(node.type, maybe({type: 'WandbArtifactRef'}))) { + return ; } return
[No editor for type {weave.typeToString(node.type)}]
; }; @@ -776,7 +779,7 @@ export const WeaveEditorTable: FC<{ ); }; -export const WeaveViewOpDef: FC<{ +export const WeaveViewSmallRef: FC<{ node: Node; }> = ({node}) => { const opDefQuery = useNodeValue(node); @@ -789,6 +792,6 @@ export const WeaveViewOpDef: FC<{ } else if (opDefRef != null) { return ; } else { - return
invalid op def: {opDefQuery.result}
; + return
invalid ref: {opDefQuery.result}
; } };