mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
Working on settings Page. Adding init function on next.js startup.
This commit is contained in:
@@ -19,6 +19,11 @@ export default async function RoutePage(props: PageParams<{}>) {
|
||||
}
|
||||
})
|
||||
|
||||
const settings = await prisma.settings.findUnique({
|
||||
where:{
|
||||
name: "system"
|
||||
}
|
||||
})
|
||||
|
||||
return (
|
||||
<Page>
|
||||
@@ -31,7 +36,7 @@ export default async function RoutePage(props: PageParams<{}>) {
|
||||
Manage your Portabase settings
|
||||
</PageDescription>
|
||||
<PageContent>
|
||||
<SettingsTabs users={users}/>
|
||||
<SettingsTabs settings={settings} users={users}/>
|
||||
</PageContent>
|
||||
</Page>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user