mirror of
https://github.com/apache/superset.git
synced 2026-04-26 11:34:27 +00:00
chore: SQLLab row limit warning using Alert component (#14298)
This commit is contained in:
@@ -506,7 +506,9 @@ export default class ResultSet extends React.PureComponent<
|
||||
const limitReached = results?.displayLimitReached;
|
||||
return (
|
||||
<ReturnedRows>
|
||||
{!limitReached && <span>{t(`%s rows returned`, rows)}</span>}
|
||||
{!limitReached && (
|
||||
<Alert type="warning" message={t(`%s rows returned`, rows)} />
|
||||
)}
|
||||
{limitReached && (
|
||||
<Alert
|
||||
type="warning"
|
||||
|
||||
Reference in New Issue
Block a user