mirror of https://github.com/jetkvm/kvm.git
fix(ui): simplify conditional rendering in network settings component
This commit is contained in:
parent
1765dcf103
commit
31fac8e354
|
@ -356,7 +356,7 @@ export default function SettingsNetworkRoute() {
|
||||||
/>
|
/>
|
||||||
</SettingsItem>
|
</SettingsItem>
|
||||||
<AutoHeight>
|
<AutoHeight>
|
||||||
{networkSettingsLoaded === false && !networkState?.dhcp_lease ? (
|
{!networkSettingsLoaded && !networkState?.dhcp_lease ? (
|
||||||
<GridCard>
|
<GridCard>
|
||||||
<div className="p-4">
|
<div className="p-4">
|
||||||
<div className="space-y-4">
|
<div className="space-y-4">
|
||||||
|
|
Loading…
Reference in New Issue