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