Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: [M3-6510] - Modifying Configuration Profile in Cloud breaks with VLANs #9053

Merged
merged 12 commits into from
Apr 26, 2023
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
- Event entities should only be linked for true labels
- Radio button hover effect #9031
- Prevent form submission unless action was taken (IP transfer & IP sharing modals) #5976
Inability to edit and save Linode Configurations #9053
cpathipa marked this conversation as resolved.
Show resolved Hide resolved

### Tech Stories:
- MUIv5 Migration - Components > CircleProgress #9028
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,11 @@ const LinodeConfigDialog: React.FC<CombinedProps> = (props) => {
(thisOption) => thisOption.value === config?.root_device
)
);
const configInterfaces = config?.interfaces?.map(
cpathipa marked this conversation as resolved.
Show resolved Hide resolved
({ ipam_address, label, purpose }) => {
return { ipam_address, label, purpose };
}
);
resetForm({
values: {
useCustomRoot: isUsingCustomRoot(config.root_device),
Expand All @@ -438,7 +443,7 @@ const LinodeConfigDialog: React.FC<CombinedProps> = (props) => {
virt_mode: config.virt_mode,
helpers: config.helpers,
root_device: config.root_device,
interfaces: interfacesToState(config.interfaces),
interfaces: interfacesToState(configInterfaces),
cpathipa marked this conversation as resolved.
Show resolved Hide resolved
setMemoryLimit:
config.memory_limit !== 0 ? 'set_limit' : 'no_limit',
},
Expand Down