Procházet zdrojové kódy

docs: share page hide patch part

Jay V před 6 měsíci
rodič
revize
99dfe65862
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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