Skip to content

Commit 441b8af

Browse files
committed
Merge pull request #305 from f-higashi/fix-event-filter
Fix event filter issue
2 parents 3807a6a + 06328ea commit 441b8af

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

src/app/frontend/replicasetdetail/replicasetdetail.html

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ <h1 flex class="md-title kd-replicasetdetail-app-name">
256256
</md-content>
257257
</md-tab>
258258
<md-tab label="Events">
259-
<md-content flex ng-if="ctrl.hasEvents()">
259+
<md-content flex>
260260
<div class="kd-replicasetdetail-options" layout="row">
261261
<md-input-container class="kd-replicasetdetail-option-picker">
262262
<label>Type</label>
@@ -269,7 +269,7 @@ <h1 flex class="md-title kd-replicasetdetail-app-name">
269269
</md-input-container>
270270
<!-- TODO(maciaszczykm): Add event filtering by source (all, system and user). -->
271271
</div>
272-
<table class="kd-replicasetdetail-table" cellspacing="0" cellpadding="15">
272+
<table class="kd-replicasetdetail-table" cellspacing="0" cellpadding="15" ng-if="ctrl.hasEvents()">
273273
<thead>
274274
<tr>
275275
<th class="kd-replicasetdetail-table-header">
@@ -341,14 +341,15 @@ <h1 flex class="md-title kd-replicasetdetail-app-name">
341341
</tr>
342342
</tbody>
343343
</table>
344-
</md-content>
345-
<md-content class="kd-replicasetdetail-no-events" ng-if="!ctrl.hasEvents()">
346-
<md-icon class="material-icons kd-replicasetdetail-no-events-icon">info_outline</md-icon>
347-
<div class="kd-replicasetdetail-no-events-text">No events were found</div>
348-
<span class="kd-replicasetdetail-no-events-info">
349-
There are no events to display. It's possible that all of them have expired.
350-
<a href="">Learn more</a>
351-
</span>
344+
345+
<div class="kd-replicasetdetail-no-events" ng-if="!ctrl.hasEvents()">
346+
<md-icon class="material-icons kd-replicasetdetail-no-events-icon">info_outline</md-icon>
347+
<div class="kd-replicasetdetail-no-events-text">No events were found</div>
348+
<span class="kd-replicasetdetail-no-events-info">
349+
There are no events to display. It's possible that all of them have expired.
350+
<a href="">Learn more</a>
351+
</span>
352+
</div>
352353
</md-content>
353354
</md-tab>
354355
</md-tabs>

0 commit comments

Comments
 (0)