mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Correct graph row component responsive layout for linked graphs (#13587)
* Correct graph row component responsive layout for linked graphs Enable pass through height and legend. Probably need more, but this is just for a start. Switch Poller performance page * revert accidental change * Update Graph.php
This commit is contained in:
@@ -120,6 +120,19 @@ class Graph extends Component
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param mixed $value
|
||||
* @param int|string $key
|
||||
* @return bool
|
||||
*/
|
||||
public function filterAttributes($value, $key): bool
|
||||
{
|
||||
return ! in_array($key, [
|
||||
'legend',
|
||||
'height',
|
||||
]);
|
||||
}
|
||||
|
||||
private function getSrc(): string
|
||||
{
|
||||
return url('graph.php') . '?' . http_build_query($this->vars + [
|
||||
|
Reference in New Issue
Block a user