You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uncaught (in promise) TypeError: Cannot read properties of null (reading 'metadata')
at UserList.vue:477:32
at renderFnWithContext (vue.global.fe3b2080.js:2399:15)
at Object.renderSlot (vue.global.fe3b2080.js:4510:55)
at Proxy.<anonymous> (halo-components.iife.fe3b2080.js:9:109643)
at renderComponentRoot (vue.global.fe3b2080.js:2459:18)
at ReactiveEffect.componentUpdateFn [as fn] (vue.global.fe3b2080.js:7505:48)
at ReactiveEffect.run (vue.global.fe3b2080.js:539:21)
at vue.global.fe3b2080.js:7636:18
at setupRenderEffect (vue.global.fe3b2080.js:7646:7)
at mountComponent (vue.global.fe3b2080.js:7414:9)
附加信息
No response
The text was updated successfully, but these errors were encountered:
#### What type of PR is this?
/kind bug
/area core
/milestone 2.20.x
#### What this PR does / why we need it:
This PR filters blank role name while granting roles for an user to prevent null role in permissions.
#### Which issue(s) this PR fixes:
Fixes#6604
#### Does this PR introduce a user-facing change?
```release-note
修复取消用户角色后无法正常渲染用户列表的问题
```
系统信息
使用的哪种方式运行?
Docker Compose
发生了什么?
在角色列表中可以将用户设置为 ”请选择角色“,在 2.19.x 中执行此操作会导致后端
roles
返回一个 null 值,进而导致前台报错。/kind bug
/area ui
/area core
复现步骤
相关日志输出
附加信息
No response
The text was updated successfully, but these errors were encountered: