feat: add broadcast field to interfaces
This commit is contained in:
@@ -85,11 +85,13 @@ export default function ConfigDetail() {
|
||||
label: 'Zone',
|
||||
render: (r: AnyEntity) => r['zone_id'] == null ? '-' : (zones.find((z) => z.id === r['zone_id'])?.name ?? String(r['zone_id'])),
|
||||
},
|
||||
{ key: 'broadcast' as const, label: 'Broadcast' },
|
||||
{ key: 'options' as const, label: 'Options' },
|
||||
] as Column<AnyEntity>[],
|
||||
fields: [
|
||||
{ name: 'name', label: 'Interface Name', required: true },
|
||||
{ name: 'zone_id', label: 'Zone', type: 'select' as const, options: [{ value: '', label: '- (no zone)' }, ...zoneOptions] },
|
||||
{ name: 'broadcast', label: 'Broadcast' },
|
||||
{ name: 'options', label: 'Options' },
|
||||
] as FieldDef[],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user