mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user