fix(striker-ui): install and driver ISO cannot be the same
This commit is contained in:
parent
97269e33c9
commit
1414117ac1
@ -1537,6 +1537,7 @@ const ProvisionServerDialog = ({
|
|||||||
'Install ISO',
|
'Install ISO',
|
||||||
fileSelectItems,
|
fileSelectItems,
|
||||||
{
|
{
|
||||||
|
disableItem: (value) => value === inputDriverISOFileUUID,
|
||||||
hideItem: (value) => !includeFileUUIDs.includes(value),
|
hideItem: (value) => !includeFileUUIDs.includes(value),
|
||||||
selectProps: {
|
selectProps: {
|
||||||
onChange: ({ target: { value } }) => {
|
onChange: ({ target: { value } }) => {
|
||||||
@ -1555,6 +1556,7 @@ const ProvisionServerDialog = ({
|
|||||||
'Driver ISO',
|
'Driver ISO',
|
||||||
fileSelectItems,
|
fileSelectItems,
|
||||||
{
|
{
|
||||||
|
disableItem: (value) => value === inputInstallISOFileUUID,
|
||||||
hideItem: (value) => !includeFileUUIDs.includes(value),
|
hideItem: (value) => !includeFileUUIDs.includes(value),
|
||||||
selectProps: {
|
selectProps: {
|
||||||
onChange: ({ target: { value } }) => {
|
onChange: ({ target: { value } }) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user