Skip to content

Commit 748806a

Browse files
committed
enable remove role button only for clear the fields
1 parent 6d49a12 commit 748806a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/userInvitation/UserInvitationUserGroupsTable.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ const availableUserGroups = computed(() => {
203203
*/
204204
function hasUserGroupsValue() {
205205
if (store.invitationPayload.userGroupsToAdd[0]) {
206-
Object.values(store.invitationPayload.userGroupsToAdd[0]).some(
206+
return Object.values(store.invitationPayload.userGroupsToAdd[0]).some(
207207
(value) => value !== null,
208208
);
209209
}

0 commit comments

Comments
 (0)