2023-01-18 23:05:39 +00:00
|
|
|
import AppLayout from 'components/layout/AppLayout';
|
2022-10-27 23:42:57 +00:00
|
|
|
import useConfig from 'hooks/useConfig';
|
2022-12-28 23:43:22 +00:00
|
|
|
|
2023-01-10 07:59:26 +00:00
|
|
|
import UsersList from 'components/pages/settings/users/UsersList';
|
2020-08-05 05:45:05 +00:00
|
|
|
|
2022-12-27 00:57:59 +00:00
|
|
|
export default function UsersPage() {
|
2022-10-27 23:42:57 +00:00
|
|
|
const { adminDisabled } = useConfig();
|
2020-08-05 05:45:05 +00:00
|
|
|
|
2023-01-31 07:03:08 +00:00
|
|
|
if (adminDisabled) {
|
2020-08-05 05:45:05 +00:00
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return (
|
2023-01-18 23:05:39 +00:00
|
|
|
<AppLayout>
|
2022-12-27 00:57:59 +00:00
|
|
|
<UsersList />
|
2023-01-18 23:05:39 +00:00
|
|
|
</AppLayout>
|
2020-08-05 05:45:05 +00:00
|
|
|
);
|
|
|
|
|
}
|