Fix latency.blade.php to show smokeping integration (#11980)

This commit is contained in:
TheGreatDoc
2020-07-30 00:35:34 -05:00
committed by GitHub
parent 9fdea8c3b5
commit ff3926d28e
@@ -1,7 +1,7 @@
@extends('device.index')
@section('tab')
@if(!$data['smokeping']->hasGraphs())
@if($data['smokeping']->hasGraphs())
<x-panel class="with-nav-tabs">
<x-slot name="heading">
<a href="{{ \LibreNMS\Config::get('smokeping.url') }}?target={{ $device->type }}.{{ str_replace('.','_',$device->hostname) }}" target="_blank"><span class="panel-title">@lang('Smokeping') <i class="glyphicon glyphicon-share-alt"></i></span></a>