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,6 +373,7 @@ function PublishLivestream(props: Props) {
/> />
<PublishName uri={uri} /> <PublishName uri={uri} />
<> <>
{inEditMode && (
<fieldset-section> <fieldset-section>
<label style={{ marginBottom: 'var(--spacing-s)' }}> <label style={{ marginBottom: 'var(--spacing-s)' }}>
{inEditMode && ( {inEditMode && (
@ -387,6 +388,7 @@ function PublishLivestream(props: Props) {
{__('Update only')} {__('Update only')}
</label> </label>
</fieldset-section> </fieldset-section>
)}
{(fileSource === SOURCE_SELECT || inEditMode) && hasLivestreamData && !isCheckingLivestreams && ( {(fileSource === SOURCE_SELECT || inEditMode) && hasLivestreamData && !isCheckingLivestreams && (
<> <>
<label> <label>