mirror of
https://github.com/apache/superset.git
synced 2026-04-26 19:44:58 +00:00
fix: SqlEditor_spec tests (#13186)
This commit is contained in:
committed by
GitHub
parent
d8bd8ec896
commit
7ee8d114d2
@@ -547,7 +547,10 @@ class SqlEditor extends React.PureComponent {
|
||||
return (
|
||||
<AntdMenu>
|
||||
{[...new Set(LIMIT_DROPDOWN)].map(limit => (
|
||||
<AntdMenu.Item onClick={() => this.setQueryLimit(limit)}>
|
||||
<AntdMenu.Item
|
||||
key={`${limit}`}
|
||||
onClick={() => this.setQueryLimit(limit)}
|
||||
>
|
||||
{/* // eslint-disable-line no-use-before-define */}
|
||||
<a role="button" styling="link">
|
||||
{this.convertToNumWithSpaces(limit)}
|
||||
|
||||
Reference in New Issue
Block a user