Revision bb3e5ca2
Added by Ondřej Ezr about 5 years ago
webpack/assets/javascripts/react_app/components/hosts/storage/vmware/controller/index.js | ||
---|---|---|
storagePodsError,
|
||
}) => {
|
||
const getEventValue = e => {
|
||
if (!e.target) {
|
||
if (!e || !e.target) {
|
||
return e;
|
||
}
|
||
return e.target.type === 'checkbox' ? e.target.checked : e.target.value;
|
Also available in: Unified diff
Fixes #26273 - more robust value handler