diff --git a/internal/site/src/components/containers-table/containers-table-columns.tsx b/internal/site/src/components/containers-table/containers-table-columns.tsx
index 3eb44079..0f5ad3c3 100644
--- a/internal/site/src/components/containers-table/containers-table-columns.tsx
+++ b/internal/site/src/components/containers-table/containers-table-columns.tsx
@@ -40,7 +40,7 @@ export const containerChartCols: ColumnDef[] = [
accessorFn: (record) => record.name,
header: ({ column }) => ,
cell: ({ getValue }) => {
- return {getValue() as string}
+ return {getValue() as string}
},
},
{
@@ -55,7 +55,7 @@ export const containerChartCols: ColumnDef[] = [
header: ({ column }) => ,
cell: ({ getValue }) => {
const allSystems = useStore($allSystemsById)
- return {allSystems[getValue() as string]?.name ?? ""}
+ return {allSystems[getValue() as string]?.name ?? ""}
},
},
// {
@@ -131,7 +131,7 @@ export const containerChartCols: ColumnDef[] = [
accessorFn: (record) => record.image,
header: ({ column }) => ,
cell: ({ getValue }) => {
- return {getValue() as string}
+ return {getValue() as string}
},
},
{
diff --git a/internal/site/src/components/routes/settings/config-yaml.tsx b/internal/site/src/components/routes/settings/config-yaml.tsx
index 4cbd2512..742c4332 100644
--- a/internal/site/src/components/routes/settings/config-yaml.tsx
+++ b/internal/site/src/components/routes/settings/config-yaml.tsx
@@ -63,7 +63,7 @@ export default function ConfigYaml() {
-
+
Caution - potential data loss
diff --git a/internal/site/src/components/routes/system/smart-table.tsx b/internal/site/src/components/routes/system/smart-table.tsx
index 7f5d43d1..03cdec33 100644
--- a/internal/site/src/components/routes/system/smart-table.tsx
+++ b/internal/site/src/components/routes/system/smart-table.tsx
@@ -36,10 +36,6 @@ export const smartColumns: ColumnDef[] = [
{
accessorKey: "id",
header: "ID",
- cell: ({ getValue }) => {
- const id = getValue() as number | undefined
- return {id?.toString() || ""}
- },
},
{
accessorFn: (row) => row.n,
@@ -386,8 +382,6 @@ export default function DisksTable({ systemId }: { systemId: string }) {
function DiskSheet({ disk, smartData, open, onOpenChange }: { disk: DiskInfo | null; smartData?: SmartData; open: boolean; onOpenChange: (open: boolean) => void }) {
if (!disk) return null
- const [sorting, setSorting] = React.useState([{ id: "id", desc: false }])
-
const smartAttributes = smartData?.a || []
// Find all attributes where when failed is not empty
@@ -411,11 +405,6 @@ function DiskSheet({ disk, smartData, open, onOpenChange }: { disk: DiskInfo | n
data: smartAttributes,
columns: visibleColumns,
getCoreRowModel: getCoreRowModel(),
- getSortedRowModel: getSortedRowModel(),
- onSortingChange: setSorting,
- state: {
- sorting,
- }
})
return (
diff --git a/internal/site/src/index.css b/internal/site/src/index.css
index e7753255..2a6374ee 100644
--- a/internal/site/src/index.css
+++ b/internal/site/src/index.css
@@ -145,7 +145,7 @@
}
@utility container {
- @apply max-w-360 mx-auto px-4;
+ @apply max-w-370 mx-auto px-4;
}
@utility link {