Skip to content

Commit c6c4390

Browse files
committedOct 7, 2016
Only show the incidents headline if we have anything to show
1 parent 1e7e9e8 commit c6c4390

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎resources/views/partials/modules/timeline.blade.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@if($days_to_show > 0)
1+
@if($days_to_show > 0 && $all_incidents)
22
<div class="section-timeline">
33
<h1>{{ trans('cachet.incidents.past') }}</h1>
44
@foreach($all_incidents as $date => $incidents)

2 commit comments

Comments
 (2)

TheoBearman commented on Oct 7, 2016

@TheoBearman
Contributor

How does this impact #2136? Doesn't this change render it obsolete?

jbrooksuk commented on Oct 7, 2016

@jbrooksuk
MemberAuthor

Hmm, #2136 is a bit of a pain to be honest. I'll have a think.

Please sign in to comment.