mirror of
https://github.com/apache/superset.git
synced 2026-04-26 11:34:27 +00:00
additional safeguard (#14953)
This commit is contained in:
@@ -540,7 +540,7 @@ export default class ResultSet extends React.PureComponent<
|
||||
let limitMessage;
|
||||
const limitReached = results?.displayLimitReached;
|
||||
const limit = queryLimit || results.query.limit;
|
||||
const isAdmin = !!this.props.user?.roles.Admin;
|
||||
const isAdmin = !!this.props.user?.roles?.Admin;
|
||||
const displayMaxRowsReachedMessage = {
|
||||
withAdmin: t(
|
||||
`The number of results displayed is limited to %(rows)d by the configuration DISPLAY_MAX_ROWS. `,
|
||||
|
||||
Reference in New Issue
Block a user