mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
chore: E2E tests for the Drill to detail modal (#21187)
* Add example ECharts Dashboard * [WIP] E2E test * Add echarts interactions * Lint * DRY
This commit is contained in:
@@ -35,10 +35,14 @@ export default function RowCountLabel(props: RowCountLabelProps) {
|
||||
limitReached || (rowcount === 0 && !loading) ? 'danger' : 'default';
|
||||
const formattedRowCount = getNumberFormatter()(rowcount);
|
||||
const label = (
|
||||
<Label type={type} data-test="row-count-label">
|
||||
{loading
|
||||
? t('Loading...')
|
||||
: tn('%s row', '%s rows', rowcount, formattedRowCount)}
|
||||
<Label type={type}>
|
||||
{loading ? (
|
||||
t('Loading...')
|
||||
) : (
|
||||
<span data-test="row-count-label">
|
||||
{tn('%s row', '%s rows', rowcount, formattedRowCount)}
|
||||
</span>
|
||||
)}
|
||||
</Label>
|
||||
);
|
||||
return limitReached ? (
|
||||
|
||||
Reference in New Issue
Block a user