feat: fix youtube
This commit is contained in:
parent
72d834bf78
commit
cdcfeb18ae
|
|
@ -136,7 +136,15 @@ export default withProvider(
|
||||||
YoutubeSettings,
|
YoutubeSettings,
|
||||||
YoutubePreview,
|
YoutubePreview,
|
||||||
YoutubeSettingsDto,
|
YoutubeSettingsDto,
|
||||||
'video',
|
async (items) => {
|
||||||
1,
|
if (items.length === 1) {
|
||||||
1
|
return 'Youtube items should be one';
|
||||||
|
}
|
||||||
|
|
||||||
|
if (items[0].length !== 1) {
|
||||||
|
return 'You need one item';
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
);
|
);
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue