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