From d35d89f3a934d326ccf247219881e24c9ba4600f Mon Sep 17 00:00:00 2001
From: Anish Sarkar <104695310+AnishSarkar22@users.noreply.github.com>
Date: Wed, 21 Jan 2026 03:28:34 +0530
Subject: [PATCH] chore: ran linting
---
.../app/dashboard/[search_space_id]/team/page.tsx | 10 ++++------
.../components/github-connect-form.tsx | 14 ++++++--------
2 files changed, 10 insertions(+), 14 deletions(-)
diff --git a/surfsense_web/app/dashboard/[search_space_id]/team/page.tsx b/surfsense_web/app/dashboard/[search_space_id]/team/page.tsx
index f00982555..6701342de 100644
--- a/surfsense_web/app/dashboard/[search_space_id]/team/page.tsx
+++ b/surfsense_web/app/dashboard/[search_space_id]/team/page.tsx
@@ -778,8 +778,7 @@ function RolesTab({
role.name === "Owner" && "text-amber-600",
role.name === "Editor" && "text-blue-600",
role.name === "Viewer" && "text-gray-600",
- !["Owner", "Editor", "Viewer"].includes(role.name) &&
- "text-primary"
+ !["Owner", "Editor", "Viewer"].includes(role.name) && "text-primary"
)}
/>
@@ -1488,7 +1487,8 @@ function CreateRoleDialog({
- Use presets to quickly apply Editor (create/read/update) or Viewer (read-only) permissions
+ Use presets to quickly apply Editor (create/read/update) or Viewer (read-only)
+ permissions
@@ -1500,9 +1500,7 @@ function CreateRoleDialog({
return (
-
+
toggleCategory(category)}
diff --git a/surfsense_web/components/assistant-ui/connector-popup/connect-forms/components/github-connect-form.tsx b/surfsense_web/components/assistant-ui/connector-popup/connect-forms/components/github-connect-form.tsx
index f83ae0788..9d0ef2c45 100644
--- a/surfsense_web/components/assistant-ui/connector-popup/connect-forms/components/github-connect-form.tsx
+++ b/surfsense_web/components/assistant-ui/connector-popup/connect-forms/components/github-connect-form.tsx
@@ -38,12 +38,9 @@ const githubConnectorFormSchema = z.object({
github_pat: z
.string()
.optional()
- .refine(
- (pat) => !pat || pat.startsWith("ghp_") || pat.startsWith("github_pat_"),
- {
- message: "GitHub PAT should start with 'ghp_' or 'github_pat_'",
- }
- ),
+ .refine((pat) => !pat || pat.startsWith("ghp_") || pat.startsWith("github_pat_"), {
+ message: "GitHub PAT should start with 'ghp_' or 'github_pat_'",
+ }),
repo_full_names: z.string().min(1, {
message: "At least one repository is required.",
}),
@@ -114,14 +111,15 @@ export const GithubConnectForm: FC = ({ onSubmit, isSubmitting
Personal Access Token (Optional)
A GitHub PAT is only required for private repositories. Public repos work without a
- token. {" "}
+ token.{" "}
Get your token
+
{" "}