fix: allow to import a single mask

main
ShengYan, Zhang 3 years ago
parent 48f25b0799
commit f6c268dc1e

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

Loading…
Cancel
Save