From 6dc605b741feaba4b79447a4dd20eb8ef7a6ac96 Mon Sep 17 00:00:00 2001 From: Gao Sun Date: Wed, 25 Oct 2023 11:51:59 +0800 Subject: [PATCH] chore(console): fix typo --- .../src/pages/Roles/components/AssignRoleModal/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/console/src/pages/Roles/components/AssignRoleModal/index.tsx b/packages/console/src/pages/Roles/components/AssignRoleModal/index.tsx index 85a30b59c..6c51b5e10 100644 --- a/packages/console/src/pages/Roles/components/AssignRoleModal/index.tsx +++ b/packages/console/src/pages/Roles/components/AssignRoleModal/index.tsx @@ -125,8 +125,8 @@ function AssignRoleModal({ parameters: { excludeRoleId: roleId, ...(isUser - ? { 'search.type': ApplicationType.MachineToMachine, 'mode.type': 'exact' } - : {}), + ? {} + : { 'search.type': ApplicationType.MachineToMachine, 'mode.type': 'exact' }), }, }} selectedEntities={entities}