feat: threads limitation fix
This commit is contained in:
parent
ffe44318d5
commit
f54647e905
|
|
@ -16,10 +16,6 @@ export default withProvider({
|
|||
CustomPreviewComponent: undefined,
|
||||
dto: undefined,
|
||||
checkValidity: async ([firstPost, ...otherPosts], settings) => {
|
||||
if (!firstPost.length) {
|
||||
return 'Should have at least one media';
|
||||
}
|
||||
|
||||
const checkVideosLength = await Promise.all(
|
||||
firstPost
|
||||
.filter((f) => f.path.indexOf('mp4') > -1)
|
||||
|
|
|
|||
Loading…
Reference in New Issue