@samitouri / QOSami-HFS / commits / e879f9a2

fix: (regression 0.57.7) admin/options/block: bad "expire" field

Massimo Melina committed Feb 22, 2026 at 11:04 UTC e879f9a252835f993f2bf519df4617f83820e1c7
1 file changed +2
admin/src/ArrayField.ts
+2
@@ -8,6 +8,7 @@ import { Box, FormHelperText, FormLabel } from '@mui/material'
8 import _ from 'lodash'
9 import { Center, Flex, IconBtn, useBreakpoint } from './mui'
10 import { DataTable, DataTableColumn } from './DataTable'
11 +import { DateTimeField } from './DateTimeField'
12
13 type ArrayFieldProps<T> = FieldProps<T[] | Dict<T>> & {
14 fields: Functionable<FieldDescriptor[] & {
@@ -204,6 +205,7 @@ const byType: Dict<{ field?: Partial<FieldDescriptor>, column?: Partial<GridColD
205 column: { renderCell: ({ value }) => value && h(Check) },
206 },
207 dateTime: {
208 + field: { comp: DateTimeField },
209 column: {
210 minWidth: 96, flex: 0.5,
211 renderCell: ({ value }) => value && new Date(value).toLocaleString(),