mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-11 19:08:20 +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': {
|
'vlan': {
|
||||||
display: 'VLAN',
|
display: 'VLAN',
|
||||||
fields: {
|
fields: {
|
||||||
vlan_parent: { is: 'SingleSelect', label: 'VLAN Parent', props: { searchProvider: GetInterfaces}},
|
parent: { is: 'SingleSelect', label: 'VLAN Parent', props: { searchProvider: GetInterfaces}},
|
||||||
vlan_id: { is: 'NumberBox', label: 'VLAN ID', props: { min: 1, max: 4094 }},
|
id: { is: 'NumberBox', label: 'VLAN ID', props: { min: 1, max: 4094 }},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'bond': {
|
'bond': {
|
||||||
|
@ -185,7 +185,7 @@ export const editTypes: { [key: string]: { [key: string]: any } } = {
|
||||||
fields: {
|
fields: {
|
||||||
name: { is: 'TextBox', label: 'Name'},
|
name: { is: 'TextBox', label: 'Name'},
|
||||||
interface: { is: 'SingleSelect', label: 'Interface', props: { searchProvider: GetInterfaces} },
|
interface: { is: 'SingleSelect', label: 'Interface', props: { searchProvider: GetInterfaces} },
|
||||||
gatway: { is: 'TextBox', label: 'Gateway'},
|
gateway: { is: 'TextBox', label: 'Gateway'},
|
||||||
destination: { is: 'TextBox', label: 'Destination'},
|
destination: { is: 'TextBox', label: 'Destination'},
|
||||||
metric: { is: 'NumberBox', label: 'Metric'},
|
metric: { is: 'NumberBox', label: 'Metric'},
|
||||||
comment: { is: 'MultilineTextBox', label: 'Comment'},
|
comment: { is: 'MultilineTextBox', label: 'Comment'},
|
||||||
|
|
Loading…
Add table
Reference in a new issue