🐙 Makes connection route conditional
This commit is contained in:
@@ -27,6 +27,7 @@
|
|||||||
NTP,
|
NTP,
|
||||||
Metrics
|
Metrics
|
||||||
} from '$lib/components/icons';
|
} from '$lib/components/icons';
|
||||||
|
import appEnv from 'app-env';
|
||||||
|
|
||||||
const features = useFeatureFlags();
|
const features = useFeatureFlags();
|
||||||
|
|
||||||
@@ -50,7 +51,7 @@
|
|||||||
title: 'Connection',
|
title: 'Connection',
|
||||||
icon: WiFi,
|
icon: WiFi,
|
||||||
href: '/connection',
|
href: '/connection',
|
||||||
feature: true
|
feature: !appEnv.VITE_USE_HOST_NAME
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'Controller',
|
title: 'Controller',
|
||||||
|
|||||||
Reference in New Issue
Block a user