Created
July 23, 2020 03:50
-
-
Save Quaker762/f6c3f55fde36d433ce3eb6c473fe1a1e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const additionalIPv4Labels: { | |
[key: string]: boolean, | |
} = { | |
none: true, | |
'4': false, | |
'8': false, | |
'16': false, | |
}; | |
{makeEnumOptions( | |
dipnasSingleEndOrdersValuesAdditionalIPv4, | |
dipnasSingleEndOrdersLabelsAdditionalIPv4, | |
getFieldValue('ipAddressProtocol') == | |
dipnasSingleEndOrdersEnumIPAddressProtocolIPv4 || | |
getFieldValue('ipAddressProtocol') == | |
dipnasSingleEndOrdersEnumIPAddressProtocolDualStack | |
? program | |
? program.validOptionsFilter(current, 'additionalIPv4') | |
: null | |
: additionalIPv4Labels | |
)} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment