mirror of https://github.com/apache/superset.git
This change makes the query progress bar only show whole number percentage changes, instead of numbers like 12.13168276%.
This commit is contained in:
parent
156b0aaa07
commit
9423e9a8be
|
@ -169,7 +169,7 @@ class QueryTable extends React.PureComponent {
|
||||||
style={{ width: '75px' }}
|
style={{ width: '75px' }}
|
||||||
striped
|
striped
|
||||||
now={q.progress}
|
now={q.progress}
|
||||||
label={`${q.progress}%`}
|
label={`${q.progress.toFixed(0)}%`}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
let errorTooltip;
|
let errorTooltip;
|
||||||
|
|
|
@ -241,7 +241,7 @@ export default class ResultSet extends React.PureComponent {
|
||||||
<ProgressBar
|
<ProgressBar
|
||||||
striped
|
striped
|
||||||
now={query.progress}
|
now={query.progress}
|
||||||
label={`${query.progress}%`}
|
label={`${query.progress.toFixed(0)}%`}
|
||||||
/>);
|
/>);
|
||||||
}
|
}
|
||||||
if (query.trackingUrl) {
|
if (query.trackingUrl) {
|
||||||
|
|
Loading…
Reference in New Issue