1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

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 9 additions and 8 deletions

View File

@ -82,7 +82,7 @@ function handleSubmit(event: Event): void {
}
// 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.
const formData: Dict<Dict<string>> = Object.assign(