Fixed bug from loading undefined field
This commit is contained in:
@@ -1911,7 +1911,7 @@ const ParsedAction = (props) => {
|
|||||||
|
|
||||||
// Basic helpertext
|
// Basic helpertext
|
||||||
|
|
||||||
if (data.name.toLowerCase() === "file_category") {
|
if (files !== undefined && files !== null && data.name.toLowerCase() === "file_category") {
|
||||||
//selectedActionParameters[count].options.length > 0
|
//selectedActionParameters[count].options.length > 0
|
||||||
console.log("FileS: ", files)
|
console.log("FileS: ", files)
|
||||||
if (files.namespaces !== undefined && files.namespaces !== null && files.namespaces.length > 0) {
|
if (files.namespaces !== undefined && files.namespaces !== null && files.namespaces.length > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user