Remove update label in new livestream forms

This commit is contained in:
Raphael Wickihalder 2022-07-11 17:03:04 +02:00
parent b20b24bdb6
commit 214263d111
No known key found for this signature in database
GPG key ID: 05179BB92383243D

View file

@ -373,20 +373,22 @@ function PublishLivestream(props: Props) {
/>
<PublishName uri={uri} />
<>
<fieldset-section>
<label style={{ marginBottom: 'var(--spacing-s)' }}>
{inEditMode && (
<FormField
name="reuse-replay"
key="reuse-replay"
type="radio"
checked={replaySource === 'keep'}
onClick={() => updateReplayOption('keep')}
/>
)}
{__('Update only')}
</label>
</fieldset-section>
{inEditMode && (
<fieldset-section>
<label style={{ marginBottom: 'var(--spacing-s)' }}>
{inEditMode && (
<FormField
name="reuse-replay"
key="reuse-replay"
type="radio"
checked={replaySource === 'keep'}
onClick={() => updateReplayOption('keep')}
/>
)}
{__('Update only')}
</label>
</fieldset-section>
)}
{(fileSource === SOURCE_SELECT || inEditMode) && hasLivestreamData && !isCheckingLivestreams && (
<>
<label>