Merge pull request #1622 from yanCode/fix/single-mask-import

fix: allow to import a single mask
main
Yifei Zhang 2 years ago committed by GitHub
commit 8d7f3bd215
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -256,6 +256,11 @@ export function MaskPage() {
maskStore.create(mask);
}
}
return;
}
//if the content is a single mask.
if (importMasks.name) {
maskStore.create(importMasks);
}
} catch {}
});

Loading…
Cancel
Save