mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-16 02:05:04 +01:00
23 lines
428 B
JavaScript
23 lines
428 B
JavaScript
import SettingsLayout from 'components/layout/SettingsLayout';
|
|
import UsersList from 'components/pages/settings/users/UsersList';
|
|
|
|
export default function UsersPage({ disabled }) {
|
|
if (disabled) {
|
|
return null;
|
|
}
|
|
|
|
return (
|
|
<SettingsLayout>
|
|
<UsersList />
|
|
</SettingsLayout>
|
|
);
|
|
}
|
|
|
|
export async function getServerSideProps() {
|
|
return {
|
|
props: {
|
|
disabled: !!process.env.CLOUD_MODE,
|
|
},
|
|
};
|
|
}
|