Fixed issue with actionlist autocompletion

This commit is contained in:
frikky
2022-02-11 00:23:34 +01:00
parent 349449e903
commit 65418b39c4
5 changed files with 27 additions and 7 deletions
+2 -1
View File
@@ -2353,7 +2353,8 @@ const AngularWorkflow = (defaultprops) => {
}
}
var newapps = JSON.parse(JSON.stringify(apps))
//var newapps = JSON.parse(JSON.stringify(apps))
var newapps = apps
const curapp = newapps.find(
(a) =>
a.name === curaction.app_name &&
+8 -2
View File
@@ -102,7 +102,7 @@ const Docs = (defaultprops) => {
maxHeight: "83vh",
overflowX: "hidden",
overflowY: "auto",
zIndex: 10003,
zIndex: 1000,
};
const fetchDocList = () => {
@@ -141,6 +141,11 @@ const Docs = (defaultprops) => {
setData(responseJson.reason);
document.title = "Shuffle " + docId + " documentation";
if (responseJson.reason !== undefined && responseJson.reason !== null && responseJson.reason.includes("404: Not Found")) {
navigate("/docs")
return
}
if (responseJson.meta !== undefined) {
setSelectedMeta(responseJson.meta);
}
@@ -517,7 +522,8 @@ const Docs = (defaultprops) => {
const newname =
item.charAt(0).toUpperCase() +
item.substring(1).split("_").join(" ").split("-").join(" ");
const itemMatching =
const itemMatching = props.match.params.key === undefined ? false :
props.match.params.key.toLowerCase() === item.toLowerCase();
//const [tocLines, setTocLines] = React.useState([]);
return (