We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b7d4b9 commit fa20d2eCopy full SHA for fa20d2e
client/packages/lowcoder/src/pages/setting/permission/permissionList.tsx
@@ -187,7 +187,14 @@ export default function PermissionSetting(props: PermissionSettingProps) {
187
scroll={{ x: "100%" }}
188
pagination={false}
189
onRow={(record) => ({
190
- onClick: () => history.push(buildGroupId((record as DataItemInfo).key)),
+ onClick: (e) => {
191
+ // Don't navigate if this row is in rename mode
192
+ if ((record as DataItemInfo).key === needRenameId) {
193
+ e.stopPropagation();
194
+ return;
195
+ }
196
+ history.push(buildGroupId((record as DataItemInfo).key));
197
+ },
198
})}
199
columns={[
200
{
0 commit comments