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 e1df14b commit ce17833Copy full SHA for ce17833
ui/src/views/system/user-manage/component/UserDrawer.vue
@@ -279,10 +279,10 @@ const submit = async (formEl: FormInstance | undefined) => {
279
if (memberFormContentRef.value) {
280
await memberFormContentRef.value?.validate()
281
}
282
- if (user.isPE()) {
+ if (user.isPE() || user.isEE()) {
283
list.value = list.value.map(item => ({
284
...item,
285
- workspace_ids: adminRoleList.value.find(item1 => item1.id === item.role_id) ? ['None'] : ['default']
+ workspace_ids: adminRoleList.value.find(item1 => item1.id === item.role_id) ? ['None'] : item.workspace_ids
286
}))
287
288
const params = {
0 commit comments