fix new UI edit vesta plugins page

fix new UI edit vesta plugins page
This commit is contained in:
mysterynet 2021-10-31 11:00:01 +08:00 committed by GitHub
commit 7c75233bcb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -111,10 +111,10 @@ const EditVestaPluginsOption = ({ data, visible }) => {
<SelectInput <SelectInput
title={i18n['SFTP Chroot']} title={i18n['SFTP Chroot']}
selected={data.lead === 'sftp' || data.sftpjail_key != '' ? i18n['yes'] : ''} selected={data.lead === 'sftp' || data.sftpjail_key != '' ? i18n['yes'] : ''}
name="v_backup_manager" name="v_sftp"
options={sftpOptions} options={sftpOptions}
onChange={onChangeSftpChroot} onChange={onChangeSftpChroot}
id="backup_manager" /> id="module-sftp" />
{ {
sftpDescription sftpDescription
@ -124,10 +124,10 @@ const EditVestaPluginsOption = ({ data, visible }) => {
<div className="license-description"> <div className="license-description">
<span>{i18n['Licence Key']}:</span> <span>{i18n['Licence Key']}:</span>
<TextInput <TextInput
title={i18n['Version']} title={i18n['Licence Key']}
value={data.version} value={data.sftpjail_key}
name="v_version" name="v_sftp_licence"
id="version" /> id="sftp_licence" />
</div> </div>
</div> </div>
) )
@ -140,7 +140,7 @@ const EditVestaPluginsOption = ({ data, visible }) => {
<div className="license-description"> <div className="license-description">
<span>{i18n['Enter License Key']}:</span> <span>{i18n['Enter License Key']}:</span>
<TextInput <TextInput
title={i18n['Version']} title={i18n['Licence Key']}
name="v_sftp_licence" name="v_sftp_licence"
id="sftp_licence" /> id="sftp_licence" />
</div> </div>
@ -196,7 +196,7 @@ const EditVestaPluginsOption = ({ data, visible }) => {
title={i18n['Version']} title={i18n['Version']}
value="" value=""
name="v_filemanager_licence" name="v_filemanager_licence"
id="sftp_licence" /> id="filemanager_licence" />
</div> </div>
<div className="buy-license"> <div className="buy-license">