feat: disabled
This commit is contained in:
parent
569c43354c
commit
997fd76d85
|
|
@ -176,7 +176,6 @@ const TikTokSettings: FC<{
|
|||
</div>
|
||||
<Select
|
||||
label={t('label_content_posting_method', 'Content posting method')}
|
||||
disabled={isUploadMode}
|
||||
{...register('content_posting_method', {
|
||||
value: 'DIRECT_POST',
|
||||
})}
|
||||
|
|
|
|||
|
|
@ -490,7 +490,7 @@ export class TiktokProvider extends SocialAbstract implements SocialProvider {
|
|||
photo_cover_index: 0,
|
||||
photo_images: firstPost.media?.map((p) => p.path),
|
||||
},
|
||||
post_mode: 'DIRECT_POST',
|
||||
post_mode: firstPost?.settings?.content_posting_method === 'DIRECT_POST' ? 'DIRECT_POST' : 'MEDIA_UPLOAD',
|
||||
media_type: 'PHOTO',
|
||||
}),
|
||||
}),
|
||||
|
|
|
|||
Loading…
Reference in New Issue