mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-09-04 21:05:15 +00:00
Disable channel name if channel is synced
This commit is contained in:
parent
026bdfbef4
commit
dcd04e895a
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@
|
|||
endif;?>
|
||||
<div class="block">
|
||||
<label for="channel-name">LBRY channel name:</label>
|
||||
<input type="text" id="channel-name" name="new_preferred_channel" placeholder="@YourPreferredChannelName" value="<?php echo $status['data']['lbry_channel_name'];?>">
|
||||
<input type="text" id="channel-name" name="new_preferred_channel" placeholder="@YourPreferredChannelName" value="<?php echo $status['data']['lbry_channel_name'];?>" <?php if($status['data']['status'] == 'syncing' || $status['data']['status'] == 'synced'): echo "disabled"; endif; ?> >
|
||||
<div hidden id="channel-name-error" class="error">Channel is invalid or blank</div>
|
||||
</div>
|
||||
<div class="block">
|
||||
|
|
Loading…
Add table
Reference in a new issue