diff --git a/apps/dokploy/components/dashboard/docker/logs/terminal-line.tsx b/apps/dokploy/components/dashboard/docker/logs/terminal-line.tsx
index 116efedf..359fbfa9 100644
--- a/apps/dokploy/components/dashboard/docker/logs/terminal-line.tsx
+++ b/apps/dokploy/components/dashboard/docker/logs/terminal-line.tsx
@@ -35,34 +35,34 @@ export function TerminalLine({ log, noTimestamp, searchTerm }: LogLineProps) {
})
: "--- No time found ---";
- const highlightMessage = (text: string, term: string) => {
- if (!term) {
- return (
-
- );
- }
-
- const htmlContent = fancyAnsi.toHtml(text);
- const searchRegex = new RegExp(`(${escapeRegExp(term)})`, "gi");
-
- const modifiedContent = htmlContent.replace(
- searchRegex,
- (match) =>
- `${match}`,
- );
-
+ const highlightMessage = (text: string, term: string) => {
+ if (!term) {
return (
);
- };
+ }
+
+ const htmlContent = fancyAnsi.toHtml(text);
+ const searchRegex = new RegExp(`(${escapeRegExp(term)})`, "gi");
+
+ const modifiedContent = htmlContent.replace(
+ searchRegex,
+ (match) =>
+ `${match}`,
+ );
+
+ return (
+
+ );
+ };
const tooltip = (color: string, timestamp: string | null) => {
const square = (
diff --git a/apps/dokploy/components/dashboard/settings/servers/security-audit.tsx b/apps/dokploy/components/dashboard/settings/servers/security-audit.tsx
index 475f2b8f..1a90859f 100644
--- a/apps/dokploy/components/dashboard/settings/servers/security-audit.tsx
+++ b/apps/dokploy/components/dashboard/settings/servers/security-audit.tsx
@@ -145,15 +145,6 @@ export const SecurityAudit = ({ serverId }: Props) => {
: "Enabled (Password Authentication should be disabled)"
}
/>
-
import("./wikijs/index").then((m) => m.generate),
},
];
-