forked from XiaoMo/ChatGPT-Next-Web
Merge pull request #1622 from yanCode/fix/single-mask-import
fix: allow to import a single mask
This commit is contained in:
commit
8d7f3bd215
@ -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…
Reference in New Issue
Block a user