Skip to content

Commit

Permalink
M #~: fix NETWORK_ID when attach network (#3322)
Browse files Browse the repository at this point in the history
  • Loading branch information
jloboescalona2 authored Dec 10, 2024
1 parent 014bd1f commit 0609730
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
* limitations under the License. *
* ------------------------------------------------------------------------- */
/* eslint-disable jsdoc/require-jsdoc */
import PropTypes from 'prop-types'
import { VNetworksTable } from 'client/components/Tables'
import { SCHEMA } from 'client/components/Forms/Vm/AttachNicForm/Steps/NetworksTable/schema'
import { VNetworksTable } from 'client/components/Tables'
import { T } from 'client/constants'
import { useGeneralApi } from 'client/features/General'
import PropTypes from 'prop-types'

export const STEP_ID = 'network'

Expand All @@ -32,6 +32,7 @@ const Content = ({ data, setFormData }) => {
setModifiedFields({
network: {
NETWORK: true,
NETWORK_ID: true,
NETWORK_UID: true,
NETWORK_UNAME: true,
SECURITY_GROUPS: true,
Expand All @@ -42,6 +43,7 @@ const Content = ({ data, setFormData }) => {
...prevList,
[STEP_ID]: {
NETWORK: original?.NAME,
NETWORK_ID: original?.ID,
NETWORK_UID: original?.UID,
NETWORK_UNAME: original?.UNAME,
SECURITY_GROUPS: original?.SECURITY_GROUPS,
Expand Down

0 comments on commit 0609730

Please sign in to comment.