Fix top devices widget storage graphs (#12849)

referenced the wrong graph, caused it to not work because device was not set.
This commit is contained in:
Tony Murray
2021-05-11 09:58:05 -05:00
committed by GitHub
parent 2d752925b0
commit 3b0c2c090a

View File

@@ -304,7 +304,7 @@ class TopDevicesController extends WidgetController
'to' => Carbon::now()->timestamp,
'from' => Carbon::now()->subDay()->timestamp,
'id' => $storage->storage_id,
'type' => 'device_storage',
'type' => 'storage_usage',
'legend' => 'no',
];
$overlib_content = Url::overlibContent($graph_array, $device->displayName() . ' - ' . $storage->storage_descr);