diff --git a/src/app/admin/users/AdminUsersTable.tsx b/src/app/admin/users/AdminUsersTable.tsx
index 68ad279..12a6145 100644
--- a/src/app/admin/users/AdminUsersTable.tsx
+++ b/src/app/admin/users/AdminUsersTable.tsx
@@ -173,7 +173,7 @@ export default function UsersTable({ users }: Props) {
Are you sure you want to permanently delete{" "}
-
+
{selected?.email ||
selected?.name ||
selected?.username}
diff --git a/src/app/components/LicenseViolation.tsx b/src/app/components/LicenseViolation.tsx
index 75d544d..1771475 100644
--- a/src/app/components/LicenseViolation.tsx
+++ b/src/app/components/LicenseViolation.tsx
@@ -5,33 +5,21 @@
"use client";
-import { Button } from "@app/components/ui/button";
import { useLicenseStatusContext } from "@app/hooks/useLicenseStatusContext";
-import { useState } from "react";
export default function LicenseViolation() {
const { licenseStatus } = useLicenseStatusContext();
- const [isDismissed, setIsDismissed] = useState(false);
- if (!licenseStatus || isDismissed) return null;
+ if (!licenseStatus) return null;
// Show invalid license banner
if (licenseStatus.isHostLicensed && !licenseStatus.isLicenseValid) {
return (
-
-
- Invalid or expired license keys detected. Follow license
- terms to continue using all features.
-
-
-
+
+ Invalid or expired license keys detected. Follow license
+ terms to continue using all features.
+
);
}
@@ -44,21 +32,12 @@ export default function LicenseViolation() {
) {
return (
-
-
- License Violation: This server is using{" "}
- {licenseStatus.usedSites} sites which exceeds its
- licensed limit of {licenseStatus.maxSites} sites. Follow
- license terms to continue using all features.
-
-
-
+
+ License Violation: This server is using{" "}
+ {licenseStatus.usedSites} sites which exceeds its licensed
+ limit of {licenseStatus.maxSites} sites. Follow license
+ terms to continue using all features.
+
);
}
diff --git a/src/components/Breadcrumbs.tsx b/src/components/Breadcrumbs.tsx
index 25366ff..9740759 100644
--- a/src/components/Breadcrumbs.tsx
+++ b/src/components/Breadcrumbs.tsx
@@ -16,7 +16,33 @@ export function Breadcrumbs() {
const breadcrumbs: BreadcrumbItem[] = segments.map((segment, index) => {
const href = `/${segments.slice(0, index + 1).join("/")}`;
- let label = decodeURIComponent(segment);
+ let label = segment;
+
+ // // Format labels
+ // if (segment === "settings") {
+ // label = "Settings";
+ // } else if (segment === "sites") {
+ // label = "Sites";
+ // } else if (segment === "resources") {
+ // label = "Resources";
+ // } else if (segment === "access") {
+ // label = "Access Control";
+ // } else if (segment === "general") {
+ // label = "General";
+ // } else if (segment === "share-links") {
+ // label = "Shareable Links";
+ // } else if (segment === "users") {
+ // label = "Users";
+ // } else if (segment === "roles") {
+ // label = "Roles";
+ // } else if (segment === "invitations") {
+ // label = "Invitations";
+ // } else if (segment === "proxy") {
+ // label = "proxy";
+ // } else if (segment === "authentication") {
+ // label = "Authentication";
+ // }
+
return { label, href };
});
diff --git a/src/components/ConfirmDeleteDialog.tsx b/src/components/ConfirmDeleteDialog.tsx
index a928ed6..5ed13d5 100644
--- a/src/components/ConfirmDeleteDialog.tsx
+++ b/src/components/ConfirmDeleteDialog.tsx
@@ -105,7 +105,7 @@ export default function InviteUserForm({
{title}
- {dialog}
+ {dialog}