mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix graph row lazy loading (#16145)
This commit is contained in:
@@ -130,6 +130,7 @@ class Graph extends Component
|
||||
return ! in_array($key, [
|
||||
'legend',
|
||||
'height',
|
||||
'loading',
|
||||
]);
|
||||
}
|
||||
|
||||
|
@@ -1 +1 @@
|
||||
<img width="{{ $width }}" height="{{ $height }}" src="{{ $src }}" alt="{{ $type }}" {{ $attributes->merge(['class' => 'graph-image'])->filter($filterAttributes) }}>
|
||||
<img width="{{ $width }}" height="{{ $height }}" src="{{ $src }}" alt="{{ $type }}" {{ $attributes->merge(['class' => 'graph-image'])->filter($filterAttributes) }} {{ $attributes->only('loading') }}>
|
||||
|
@@ -1 +1 @@
|
||||
<a href="{{ $link }}" {{ $attributes->filter($filterAttributes) }}><img width="{{ $width }}" height="{{ $height }}" src="{{ $src }}" alt="{{ $type }}" class="graph-image"></a>
|
||||
<a href="{{ $link }}" {{ $attributes->filter($filterAttributes) }}><img width="{{ $width }}" height="{{ $height }}" src="{{ $src }}" alt="{{ $type }}" class="graph-image" {{ $attributes->only('loading') }}></a>
|
||||
|
Reference in New Issue
Block a user