From f2ee965ef0d1d521cd0c54a02153a7a9b766483c Mon Sep 17 00:00:00 2001 From: Maurits Lourens Date: Wed, 28 Jul 2021 17:56:52 +0200 Subject: [PATCH] fix update role modal --- .../portal/manage/users/_components/UpdateRolesModal.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/builder/src/pages/builder/portal/manage/users/_components/UpdateRolesModal.svelte b/packages/builder/src/pages/builder/portal/manage/users/_components/UpdateRolesModal.svelte index 59045a1198..8d139a7d66 100644 --- a/packages/builder/src/pages/builder/portal/manage/users/_components/UpdateRolesModal.svelte +++ b/packages/builder/src/pages/builder/portal/manage/users/_components/UpdateRolesModal.svelte @@ -48,7 +48,7 @@ on:change {options} label="Role" - getOptionLabel={role => role.name} - getOptionValue={role => role._id} + getOptionLabel={role => role.label} + getOptionValue={role => role.value} />