diff --git a/pkgs/webview-ui/app/src/routes/blockdevices/view.tsx b/pkgs/webview-ui/app/src/routes/blockdevices/view.tsx
index 0d318534f..f7d7c7b3f 100644
--- a/pkgs/webview-ui/app/src/routes/blockdevices/view.tsx
+++ b/pkgs/webview-ui/app/src/routes/blockdevices/view.tsx
@@ -26,7 +26,7 @@ export const BlockDevicesView: Component = () => {
diff --git a/pkgs/webview-ui/app/src/routes/clans/details.tsx b/pkgs/webview-ui/app/src/routes/clans/details.tsx
index 9e34001df..a86a6432f 100644
--- a/pkgs/webview-ui/app/src/routes/clans/details.tsx
+++ b/pkgs/webview-ui/app/src/routes/clans/details.tsx
@@ -1,9 +1,7 @@
import { callApi, ClanServiceInstance, SuccessQuery } from "@/src/api";
-import { BackButton } from "@/src/components/BackButton";
import { useParams } from "@solidjs/router";
import { createQuery, useQueryClient } from "@tanstack/solid-query";
import { createSignal, For, Match, Switch } from "solid-js";
-import { Show } from "solid-js";
import {
createForm,
FieldValues,
@@ -15,9 +13,10 @@ import {
} from "@modular-forms/solid";
import { TextInput } from "@/src/components/TextInput";
import toast from "solid-toast";
-import { get_single_service, set_single_service } from "@/src/api/inventory";
+import { set_single_service } from "@/src/api/inventory";
import { Button } from "@/src/components/button";
import Icon from "@/src/components/icon";
+import { Header } from "@/src/layout/header";
interface AdminModuleFormProps {
admin: AdminData;
@@ -65,30 +64,17 @@ const EditClanForm = (props: EditClanFormProps) => {
{(field) => (
<>
-
-
-
{curr_name()}
-
Wide settings
-
-
-
-
- group
-
- }
- >
- {(icon) => (
-
- )}
-
-
+
+
{curr_name()}
+
Wide settings
+
+
>
)}
@@ -344,7 +330,6 @@ type AdminData = ClanServiceInstance<"admin">;
export const ClanDetails = () => {
const params = useParams();
- const queryClient = useQueryClient();
const clan_dir = window.atob(params.id);
// Fetch general meta data
const clanQuery = createQuery(() => ({
@@ -355,48 +340,17 @@ export const ClanDetails = () => {
return result.data;
},
}));
- // Fetch admin settings
- const adminQuery = createQuery(() => ({
- queryKey: [clan_dir, "inventory", "services", "admin"],
- queryFn: async () => {
- const result = await get_single_service(queryClient, clan_dir, "admin");
- if (!result) throw new Error("Failed to fetch data");
- return result;
- },
- }));
return (
-
-
-
-
-
- }
- >
+ <>
+
+
General data not available>}>
{(d) => }
-
-
-
-
-
- }
- >
-
Admin data not available>}>
-
- {(d) => }
-
-
-
-
+
+ >
);
};