Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix logic for showing an out-of-date distinct count

Signed-off-by: Byron Ruth <b@devel.io>
  • Loading branch information...
commit 120f7e13e8f93f8e2b97ba2ae733934a46ad2657 1 parent 07dba3a
Byron Ruth bruth authored
Showing with 4 additions and 7 deletions.
  1. +4 −7 src/js/cilantro/ui/context/actions.js
11 src/js/cilantro/ui/context/actions.js
View
@@ -71,13 +71,10 @@ define([
},
enableRefreshButton: function() {
- this.ui.refresh.show();
- this.$el.addClass('muted');
- },
-
- hideRefreshButton: function() {
- this.ui.refresh.hide();
- this.ui.loading.hide();
+ if (!c.config.get('distinctCountAutoRefresh')) {
+ this.$el.addClass('muted');
+ this.ui.refresh.show();
+ }
},
renderRemoveAll: function() {
Please sign in to comment.
Something went wrong with that request. Please try again.