Hide empty statistics panel when statistics are disabled - Fixes #1604 (#1605)

This commit is contained in:
Vaalyn 2019-05-29 21:04:40 +02:00 committed by Buster "Silver Eagle" Neece
parent 90e69594b8
commit 1bc051b482
1 changed files with 2 additions and 0 deletions

View File

@ -80,6 +80,7 @@ $user = $request->getUser();
<?php endif; ?>
</section>
<?php if ($metrics): ?>
<section class="card mb-4" role="region">
<div class="card-header bg-primary-dark">
<h3 class="card-title"><?=__('Listeners Per Station') ?></h3>
@ -90,6 +91,7 @@ $user = $request->getUser();
</canvas>
</div>
</section>
<?php endif; ?>
<section class="card" role="region">
<div class="card-header bg-primary-dark">