Add Sync youtube channel button on New Channel page
This commit is contained in:
parent
a74dbe1e43
commit
9c342f56a0
1 changed files with 9 additions and 0 deletions
|
@ -356,6 +356,15 @@ function ChannelForm(props: Props) {
|
|||
<Card
|
||||
body={
|
||||
<>
|
||||
{isNewChannel && (
|
||||
<Button
|
||||
button="primary"
|
||||
label={__('Sync YouTube Channel')}
|
||||
icon={ICONS.YOUTUBE}
|
||||
navigate={`/$/${PAGES.YOUTUBE_SYNC}`}
|
||||
/>
|
||||
)}
|
||||
|
||||
<fieldset-group class="fieldset-group--smushed fieldset-group--disabled-prefix">
|
||||
<fieldset-section>
|
||||
<label htmlFor="channel_name">{__('Name')}</label>
|
||||
|
|
Loading…
Reference in a new issue