fix: allow to import a single mask
This commit is contained in:
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…
Reference in New Issue