fix(xo-web/pool/advanced): added delete button in backup/migration network (#7349)

Introduced by 0f1f459
This commit is contained in:
MlssFrncJrg 2024-01-31 17:00:45 +01:00 committed by GitHub
parent ed7046c1ab
commit fc2ca1f4d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -469,6 +469,11 @@ export default class TabAdvanced extends Component {
</span>
)}
</XoSelect>{' '}
{pool.otherConfig['xo:migrationNetwork'] !== undefined && (
<a role='button' onClick={this._removeMigrationNetwork}>
<Icon icon='remove' />
</a>
)}
</td>
</tr>
<tr>
@ -496,6 +501,11 @@ export default class TabAdvanced extends Component {
</span>
)}
</XoSelect>{' '}
{pool.otherConfig['xo:backupNetwork'] !== undefined && (
<a role='button' onClick={this._removeBackupNetwork}>
<Icon icon='remove' />
</a>
)}
</td>
</tr>
</tbody>