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