Skip to content

Commit 1b6200d

Browse files
committed
fix dhcp check
1 parent 73461b5 commit 1b6200d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

client_v2/src/components/Dhcp/Dhcp.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export const Dhcp = () => {
108108
<div class={theme.layout.container}>
109109
<div class={cn(theme.layout.containerIn, theme.layout.containerIn_one_col)}>
110110
<Show when={isLoaded()} fallback={<PageLoader />}>
111-
<Show when={dhcpState.dhcp_available}>
111+
<Show when={!dhcpState.dhcp_available}>
112112
<div class={s.unavailable}>
113113
<h1
114114
class={cn(
@@ -126,7 +126,7 @@ export const Dhcp = () => {
126126
</div>
127127
</Show>
128128

129-
<Show when={!dhcpState.dhcp_available}>
129+
<Show when={dhcpState.dhcp_available}>
130130
<div class={s.header}>
131131
<h1
132132
class={cn(

0 commit comments

Comments
 (0)