Skip to content

Commit 6fb6982

Browse files
committed
fix: Role col disvisiable in system manage
1 parent 243684b commit 6fb6982

File tree

1 file changed

+3
-1
lines changed
  • ui/src/components/resource-authorization-drawer

1 file changed

+3
-1
lines changed

ui/src/components/resource-authorization-drawer/index.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,9 @@
9898
:label="$t('views.login.loginForm.username.label')"
9999
/>
100100
<el-table-column
101-
v-if="hasPermission([EditionConst.IS_EE, EditionConst.IS_PE], 'OR')"
101+
v-if="
102+
hasPermission([EditionConst.IS_EE, EditionConst.IS_PE], 'OR') && apiType === 'workspace'
103+
"
102104
prop="role_name"
103105
:label="$t('views.role.member.role')"
104106
width="160"

0 commit comments

Comments
 (0)