Skip to content

Commit 161bc8d

Browse files
committed
fix(Tenant): fix acl scroll
1 parent 6abfded commit 161bc8d

File tree

1 file changed

+7
-1
lines changed
  • src/containers/Tenant/Acl

1 file changed

+7
-1
lines changed

src/containers/Tenant/Acl/Acl.js

+7-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ const b = cn('kv-acl');
1313

1414
const COLUMN_WIDTH = 140;
1515

16+
const TABLE_SETTINGS = {
17+
...DEFAULT_TABLE_SETTINGS,
18+
dynamicRender: false,
19+
stickyTop: 36,
20+
};
21+
1622
class Acl extends React.Component {
1723
static propTypes = {
1824
error: PropTypes.string,
@@ -81,7 +87,7 @@ class Acl extends React.Component {
8187
<DataTable
8288
columns={this.COLUMNS}
8389
data={acl}
84-
settings={{...DEFAULT_TABLE_SETTINGS, stickyTop: 36}}
90+
settings={TABLE_SETTINGS}
8591
/>
8692
);
8793
};

0 commit comments

Comments
 (0)