Ver Fonte

docs: share page hide patch part

Jay V há 1 ano atrás
pai
commit
99dfe65862
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      packages/web/src/components/Share.tsx

+ 1 - 0
packages/web/src/components/Share.tsx

@@ -342,6 +342,7 @@ export default function Share(props: {
                     msg.parts.filter((x, index) => {
                     msg.parts.filter((x, index) => {
                       if (x.type === "step-start" && index > 0) return false
                       if (x.type === "step-start" && index > 0) return false
                       if (x.type === "snapshot") return false
                       if (x.type === "snapshot") return false
+                      if (x.type === "patch") return false
                       if (x.type === "step-finish") return false
                       if (x.type === "step-finish") return false
                       if (x.type === "text" && x.synthetic === true) return false
                       if (x.type === "text" && x.synthetic === true) return false
                       if (x.type === "tool" && x.tool === "todoread") return false
                       if (x.type === "tool" && x.tool === "todoread") return false