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} /> <PublishName uri={uri} />
<> <>
<fieldset-section> {inEditMode && (
<label style={{ marginBottom: 'var(--spacing-s)' }}> <fieldset-section>
{inEditMode && ( <label style={{ marginBottom: 'var(--spacing-s)' }}>
<FormField {inEditMode && (
name="reuse-replay" <FormField
key="reuse-replay" name="reuse-replay"
type="radio" key="reuse-replay"
checked={replaySource === 'keep'} type="radio"
onClick={() => updateReplayOption('keep')} checked={replaySource === 'keep'}
/> onClick={() => updateReplayOption('keep')}
)} />
{__('Update only')} )}
</label> {__('Update only')}
</fieldset-section> </label>
</fieldset-section>
)}
{(fileSource === SOURCE_SELECT || inEditMode) && hasLivestreamData && !isCheckingLivestreams && ( {(fileSource === SOURCE_SELECT || inEditMode) && hasLivestreamData && !isCheckingLivestreams && (
<> <>
<label> <label>