Fixes #8564: only use columns form field in user table config form submit

This commit is contained in:
thatmattlove 2022-02-07 14:36:28 -07:00
parent 7252f0b490
commit ccce7751a0
7 changed files with 3 additions and 2 deletions

View File

@ -4,9 +4,10 @@
### Bug Fixes ### Bug Fixes
* [#8331](https://github.com/netbox-community/netbox/issues/8331) - Implement `replaceAll` string utility function to improve browser compatibility
* [#8548](https://github.com/netbox-community/netbox/issues/8548) - Fix display of VC members when position is zero * [#8548](https://github.com/netbox-community/netbox/issues/8548) - Fix display of VC members when position is zero
* [#8561](https://github.com/netbox-community/netbox/issues/8561) - Include option to connect a rear port to a console port * [#8561](https://github.com/netbox-community/netbox/issues/8561) - Include option to connect a rear port to a console port
* [#8331](https://github.com/netbox-community/netbox/issues/8331) - Implement `replaceAll` string utility function to improve browser compatibility * [#8564](https://github.com/netbox-community/netbox/issues/8564) - Fix errant table configuration key `available_columns`
--- ---

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -82,7 +82,7 @@ function handleSubmit(event: Event): void {
} }
// Get all the selected options from any select element in the form. // Get all the selected options from any select element in the form.
const options = getSelectedOptions(element); const options = getSelectedOptions(element, 'select[name=columns]');
// Create an object mapping the select element's name to all selected options for that element. // Create an object mapping the select element's name to all selected options for that element.
const formData: Dict<Dict<string>> = Object.assign( const formData: Dict<Dict<string>> = Object.assign(