Added namespace downloads for files as ZIP

This commit is contained in:
frikky
2021-09-01 00:56:53 +02:00
parent da75cfd541
commit 24c01eb89d
8 changed files with 50 additions and 19 deletions
+2 -1
View File
@@ -331,7 +331,8 @@ const ParsedAction = (props) => {
}
// 1. Take
const actionvalue = {"type": "action", "id": item.id, "name": item.label, "autocomplete": `${item.label.split(" ").join("_")}`, "example": exampledata}
const itemlabelComplete = item.label === null || item.label === undefined ? "" : item.label.split(" ").join("_")
const actionvalue = {"type": "action", "id": item.id, "name": item.label, "autocomplete": itemlabelComplete, "example": exampledata}
actionlist.push(actionvalue)
}
}