Can set device desired version
This commit is contained in:
		@@ -37,6 +37,7 @@ export interface Device {
 | 
			
		||||
  validated: boolean;
 | 
			
		||||
  enabled: boolean;
 | 
			
		||||
  relays: DeviceRelay[];
 | 
			
		||||
  desired_version?: string;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export interface UpdatedInfo {
 | 
			
		||||
 
 | 
			
		||||
@@ -41,6 +41,10 @@ export function GeneralDeviceInfo(p: {
 | 
			
		||||
              value={p.device.info.reference}
 | 
			
		||||
            />
 | 
			
		||||
            <DeviceInfoProperty label="Version" value={p.device.info.version} />
 | 
			
		||||
            <DeviceInfoProperty
 | 
			
		||||
              label="Desired version"
 | 
			
		||||
              value={p.device.desired_version ?? "None"}
 | 
			
		||||
            />
 | 
			
		||||
            <DeviceInfoProperty label="Name" value={p.device.name} />
 | 
			
		||||
            <DeviceInfoProperty
 | 
			
		||||
              label="Description"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user