Parcourir la source

Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web

GH Action - Upstream Sync il y a 2 ans
Parent
commit
a9c6c681ce
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      app/components/mask.tsx

+ 3 - 0
app/components/mask.tsx

@@ -368,6 +368,9 @@ export function MaskPage() {
                 text={Locale.Mask.EditModal.Download}
                 key="export"
                 bordered
+                onClick={() =>
+                  downloadAs(JSON.stringify(editingMask), "mask.json")
+                }
               />,
               <IconButton
                 key="copy"