Add Sync youtube channel button on New Channel page

This commit is contained in:
Rafael 2022-05-02 10:27:14 -03:00 committed by Thomas Zarebczan
parent a74dbe1e43
commit 9c342f56a0

View file

@ -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>