|
@@ -106,11 +106,11 @@ class UserManagement extends React.Component {
|
|
|
active: 'Active',
|
|
active: 'Active',
|
|
|
suspended: 'Suspended',
|
|
suspended: 'Suspended',
|
|
|
invited: 'Invited',
|
|
invited: 'Invited',
|
|
|
- }
|
|
|
|
|
|
|
+ };
|
|
|
|
|
|
|
|
- let labels = [];
|
|
|
|
|
|
|
+ const labels = [];
|
|
|
|
|
|
|
|
- for(let [status, color] of Object.entries(statusColor)) {
|
|
|
|
|
|
|
+ for (const [status, color] of Object.entries(statusColor)) {
|
|
|
labels.push(
|
|
labels.push(
|
|
|
<div className={`custom-control custom-checkbox custom-checkbox-${color} mr-2`}>
|
|
<div className={`custom-control custom-checkbox custom-checkbox-${color} mr-2`}>
|
|
|
<input
|
|
<input
|
|
@@ -125,8 +125,8 @@ class UserManagement extends React.Component {
|
|
|
{statusName[status]}
|
|
{statusName[status]}
|
|
|
</span>
|
|
</span>
|
|
|
</label>
|
|
</label>
|
|
|
- </div>
|
|
|
|
|
- )
|
|
|
|
|
|
|
+ </div>,
|
|
|
|
|
+ );
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
return labels;
|
|
return labels;
|
|
@@ -179,7 +179,6 @@ class UserManagement extends React.Component {
|
|
|
</p>
|
|
</p>
|
|
|
|
|
|
|
|
<h2>{t('User_Management')}</h2>
|
|
<h2>{t('User_Management')}</h2>
|
|
|
-
|
|
|
|
|
<div className="border-top border-bottom">
|
|
<div className="border-top border-bottom">
|
|
|
|
|
|
|
|
<div className="d-flex justify-content-start align-items-center my-2">
|
|
<div className="d-flex justify-content-start align-items-center my-2">
|