[Dashboard] Fix null gpu utilization (#11650)

* update dashboard to work if GPU utilization field is missing from GPU payload

* lint

* lint
This commit is contained in:
Max Fitton
2020-10-29 23:11:50 -07:00
committed by GitHub
parent e022d12dc3
commit d6628cdbfb
4 changed files with 56 additions and 24 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ export type GPUStats = {
name: string;
temperatureGpu: number;
fanSpeed: number;
utilizationGpu: number;
utilizationGpu?: number;
powerDraw: number;
enforcedPowerLimit: number;
memoryUsed: number;