Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit fa20d2e

Browse files
committed
[Fix]: #1862 able to edit the usergroups without navigate
1 parent 1b7d4b9 commit fa20d2e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

‎client/packages/lowcoder/src/pages/setting/permission/permissionList.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,14 @@ export default function PermissionSetting(props: PermissionSettingProps) {
187187
scroll={{ x: "100%" }}
188188
pagination={false}
189189
onRow={(record) => ({
190-
onClick: () => history.push(buildGroupId((record as DataItemInfo).key)),
190+
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+
},
191198
})}
192199
columns={[
193200
{

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /