mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
Working on S3 compatibility.
This commit is contained in:
@@ -6,11 +6,7 @@ import {requiredCurrentUser} from "@/auth/current-user";
|
||||
import {UserForm} from "@/components/wrappers/Dashboard/Profile/UserForm/UserForm";
|
||||
import {prisma} from "@/prisma";
|
||||
import {Badge} from "@/components/ui/badge";
|
||||
import Link from "next/link";
|
||||
import {Button} from "@/components/ui/button";
|
||||
import {ButtonWithConfirm} from "@/components/wrappers/Button/ButtonWithConfirm/ButtonWithConfirm";
|
||||
import {ButtonDeleteAccount} from "@/components/wrappers/Dashboard/Profile/ButtonDeleteAccount/ButtonDeleteAccount";
|
||||
import {useIsMobile} from "@/hooks/use-mobile";
|
||||
import {AvatarWithUpload} from "@/components/wrappers/Dashboard/Profile/Avatar/AvatarWithUpload";
|
||||
|
||||
export default async function RoutePage(props: PageParams<{}>) {
|
||||
|
||||
@@ -12,10 +12,14 @@ export default async function RoutePage(props: PageParams<{}>) {
|
||||
where:{
|
||||
id: {
|
||||
not: user.id
|
||||
}
|
||||
},
|
||||
deleted: { not: true },
|
||||
|
||||
}
|
||||
})
|
||||
|
||||
console.log(users)
|
||||
|
||||
const settings = await prisma.settings.findUnique({
|
||||
where:{
|
||||
name: "system"
|
||||
|
||||
Reference in New Issue
Block a user