Sticky headers fix, added Heliports
This commit is contained in:
@@ -176,7 +176,14 @@ export const ProfileForm: React.FC<ProfileFormProps> = ({ user }: ProfileFormPro
|
||||
onClick={() =>
|
||||
form.setValue(
|
||||
"permissions",
|
||||
["LOGIN_NEXTCLOUD", "PILOT", "DISPO", "AUDIO", "ADMIN_EVENT"],
|
||||
[
|
||||
"LOGIN_NEXTCLOUD",
|
||||
"PILOT",
|
||||
"DISPO",
|
||||
"AUDIO",
|
||||
"ADMIN_EVENT",
|
||||
"ADMIN_HELIPORT",
|
||||
],
|
||||
{
|
||||
shouldDirty: true,
|
||||
},
|
||||
@@ -191,7 +198,15 @@ export const ProfileForm: React.FC<ProfileFormProps> = ({ user }: ProfileFormPro
|
||||
onClick={() =>
|
||||
form.setValue(
|
||||
"permissions",
|
||||
["LOGIN_NEXTCLOUD", "PILOT", "DISPO", "AUDIO", "ADMIN_KICK", "ADMIN_USER"],
|
||||
[
|
||||
"LOGIN_NEXTCLOUD",
|
||||
"PILOT",
|
||||
"DISPO",
|
||||
"AUDIO",
|
||||
"ADMIN_KICK",
|
||||
"ADMIN_USER",
|
||||
"ADMIN_HELIPORT",
|
||||
],
|
||||
{
|
||||
shouldDirty: true,
|
||||
},
|
||||
|
||||
@@ -98,6 +98,7 @@ export default async function Page({ params }: { params: Promise<{ id: string }>
|
||||
total60Days: totalReports60Days,
|
||||
};
|
||||
if (!user) return <Error statusCode={404} title="User not found" />;
|
||||
|
||||
return (
|
||||
<div className="grid grid-cols-6 gap-4">
|
||||
<div className="col-span-full flex justify-between items-center">
|
||||
|
||||
Reference in New Issue
Block a user