mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-10 18:38:22 +00:00
fix vlan creation definition
This commit is contained in:
parent
4f4f125796
commit
b213b81253
1 changed files with 3 additions and 3 deletions
|
@ -149,8 +149,8 @@ export const editTypes: { [key: string]: { [key: string]: any } } = {
|
|||
'vlan': {
|
||||
display: 'VLAN',
|
||||
fields: {
|
||||
vlan_parent: { is: 'SingleSelect', label: 'VLAN Parent', props: { searchProvider: GetInterfaces}},
|
||||
vlan_id: { is: 'NumberBox', label: 'VLAN ID', props: { min: 1, max: 4094 }},
|
||||
parent: { is: 'SingleSelect', label: 'VLAN Parent', props: { searchProvider: GetInterfaces}},
|
||||
id: { is: 'NumberBox', label: 'VLAN ID', props: { min: 1, max: 4094 }},
|
||||
},
|
||||
},
|
||||
'bond': {
|
||||
|
@ -185,7 +185,7 @@ export const editTypes: { [key: string]: { [key: string]: any } } = {
|
|||
fields: {
|
||||
name: { is: 'TextBox', label: 'Name'},
|
||||
interface: { is: 'SingleSelect', label: 'Interface', props: { searchProvider: GetInterfaces} },
|
||||
gatway: { is: 'TextBox', label: 'Gateway'},
|
||||
gateway: { is: 'TextBox', label: 'Gateway'},
|
||||
destination: { is: 'TextBox', label: 'Destination'},
|
||||
metric: { is: 'NumberBox', label: 'Metric'},
|
||||
comment: { is: 'MultilineTextBox', label: 'Comment'},
|
||||
|
|
Loading…
Add table
Reference in a new issue