mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-25 01:41:40 +00:00
Disable the network controls when networkingIsDisabled is true (#1118)
* commented controls that should depend on networkingIsDisabled * add the thing * fix Manage Device Networking showing disabled * commented controls that should depend on networkingIsDisabled * add the thing * fix Manage Device Networking showing disabled * Hide the settings that aren't available when networking is disabled * Update NetworkingCard.vue * Update NetworkingCard.vue --------- Co-authored-by: Sriman Achanta <68172138+srimanachanta@users.noreply.github.com>
This commit is contained in:
@@ -45,9 +45,13 @@ export interface NetworkSettings {
|
||||
setStaticCommand?: string;
|
||||
setDHCPcommand?: string;
|
||||
networkInterfaceNames: NetworkInterfaceType[];
|
||||
networkingDisabled: boolean;
|
||||
}
|
||||
|
||||
export type ConfigurableNetworkSettings = Omit<NetworkSettings, "canManage" | "networkInterfaceNames">;
|
||||
export type ConfigurableNetworkSettings = Omit<
|
||||
NetworkSettings,
|
||||
"canManage" | "networkInterfaceNames" | "networkingDisabled"
|
||||
>;
|
||||
|
||||
export interface LightingSettings {
|
||||
supported: boolean;
|
||||
|
||||
Reference in New Issue
Block a user