Update all Rust dependencies
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		@@ -39,6 +39,9 @@ let config: ServerConfig | null = null;
 | 
			
		||||
export interface ServerSystemInfo {
 | 
			
		||||
  hypervisor: HypervisorInfo;
 | 
			
		||||
  system: SystemInfo;
 | 
			
		||||
  components: SysComponent;
 | 
			
		||||
  disks: DiskInfo[];
 | 
			
		||||
  networks: NetworkInfo[];
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
interface HypervisorInfo {
 | 
			
		||||
@@ -77,10 +80,6 @@ interface SystemInfo {
 | 
			
		||||
  total_swap: number;
 | 
			
		||||
  free_swap: number;
 | 
			
		||||
  used_swap: number;
 | 
			
		||||
  components: SysComponent;
 | 
			
		||||
  users: [];
 | 
			
		||||
  disks: DiskInfo[];
 | 
			
		||||
  networks: NetworkInfo[];
 | 
			
		||||
  uptime: number;
 | 
			
		||||
  boot_time: number;
 | 
			
		||||
  load_average: SysLoadAverage;
 | 
			
		||||
 
 | 
			
		||||
@@ -51,7 +51,7 @@ export function SysInfoRoute(): React.ReactElement {
 | 
			
		||||
export function SysInfoRouteInner(p: {
 | 
			
		||||
  info: ServerSystemInfo;
 | 
			
		||||
}): React.ReactElement {
 | 
			
		||||
  const sumDiskUsage = p.info.system.disks.reduce(
 | 
			
		||||
  const sumDiskUsage = p.info.disks.reduce(
 | 
			
		||||
    (prev, disk) => {
 | 
			
		||||
      return {
 | 
			
		||||
        used: prev.used + disk.total_space - disk.available_space,
 | 
			
		||||
@@ -227,8 +227,8 @@ export function SysInfoRouteInner(p: {
 | 
			
		||||
        ]}
 | 
			
		||||
      />
 | 
			
		||||
 | 
			
		||||
      <DiskDetailsTable disks={p.info.system.disks} />
 | 
			
		||||
      <NetworksDetailsTable networks={p.info.system.networks} />
 | 
			
		||||
      <DiskDetailsTable disks={p.info.disks} />
 | 
			
		||||
      <NetworksDetailsTable networks={p.info.networks} />
 | 
			
		||||
    </VirtWebRouteContainer>
 | 
			
		||||
  );
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user