-
+ )}
+ {user.access_level === LIBRARY_ACCESS.AUTHOR && (
+ <>
+
+
+
+
+
+
+ >
+ )}
+ {(!((user.access_level === LIBRARY_ACCESS.ADMIN) && adminLocked)) && (
+
+
+
setShowRemoveModal(false)}
+ >
+
+
+
+ {intl.formatMessage(messages['library.access.modal.remove.title'])}
+
+
+
{intl.formatMessage(
messages['library.access.modal.remove.body'],
{ library: library.title, email: user.email },
)}
-
-
- )}
- buttons={[
-