Skip to content

Commit bd61896

Browse files
committed
Fix logical condition in RBAC feature check for collapsible rows on Members page
1 parent 3fb1922 commit bd61896

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

frontend/src/pages/team/Members/General.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,10 @@ export default {
145145
]
146146
},
147147
collapsibleRow () {
148-
if (!this.featuresCheck.isRBACApplicationFeatureEnabled && (!this.isAdminUser || !this.hasPermission('application:access-control'))) {
148+
if (!this.featuresCheck.isRBACApplicationFeatureEnabled || (!this.isAdminUser && !this.hasPermission('application:access-control'))) {
149149
return null
150150
}
151+
151152
return {
152153
is: markRaw(ApplicationPermissionRow),
153154
props: {

0 commit comments

Comments
 (0)