check for null data
This commit is contained in:
parent
d76c7a15de
commit
e2ec56f2df
|
|
@ -53,7 +53,7 @@
|
|||
|
||||
|
||||
function isWdm() {
|
||||
return selectedDeviceInfo.input.info.type == 'Win32_wdm' || selectedDeviceInfo.output.info.type == 'Win32_wdm'
|
||||
return selectedDeviceInfo && (selectedDeviceInfo.input.info.type == 'Win32_wdm' || selectedDeviceInfo.output.info.type == 'Win32_wdm')
|
||||
}
|
||||
|
||||
function isGoodFtue() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue