diff --git a/superset/assets/spec/javascripts/explore/components/RowCountLabel_spec.jsx b/superset/assets/spec/javascripts/explore/components/RowCountLabel_spec.jsx
index 761f2e12293..4f06da3e713 100644
--- a/superset/assets/spec/javascripts/explore/components/RowCountLabel_spec.jsx
+++ b/superset/assets/spec/javascripts/explore/components/RowCountLabel_spec.jsx
@@ -20,12 +20,12 @@ describe('RowCountLabel', () => {
expect(wrapper.find(Label)).toHaveLength(1);
expect(wrapper.find(TooltipWrapper)).toHaveLength(1);
});
- it('renders a warning when limit is reached', () => {
+ it('renders a danger when limit is reached', () => {
const props = {
rowcount: 100,
limit: 100,
};
const wrapper = shallow();
- expect(wrapper.find(Label).first().props().bsStyle).toBe('warning');
+ expect(wrapper.find(Label).first().props().bsStyle).toBe('danger');
});
});
diff --git a/superset/assets/src/explore/components/RowCountLabel.jsx b/superset/assets/src/explore/components/RowCountLabel.jsx
index 1ba21020fc4..aea9bc48bac 100644
--- a/superset/assets/src/explore/components/RowCountLabel.jsx
+++ b/superset/assets/src/explore/components/RowCountLabel.jsx
@@ -20,7 +20,7 @@ const defaultProps = {
export default function RowCountLabel({ rowcount, limit, suffix }) {
const limitReached = rowcount === limit;
- const bsStyle = (limitReached || rowcount === 0) ? 'warning' : 'default';
+ const bsStyle = (limitReached || rowcount === 0) ? 'danger' : 'default';
const formattedRowCount = defaultNumberFormatter(rowcount);
const tooltip = (