Merged in bug-fixing-13-jan-24 (pull request #23)
Editing country manager is now only available for admins/dev
This commit is contained in:
@@ -292,7 +292,8 @@ const UserCard = ({user, loggedInUser, onClose, onViewStudents, onViewTeachers,
|
||||
color: state.isFocused ? "black" : styles.color,
|
||||
}),
|
||||
}}
|
||||
isDisabled={disabled}
|
||||
// editing country manager should only be available for dev/admin
|
||||
isDisabled={!['developer', 'admin'].includes(loggedInUser.type)}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user