Fixed issue with actionlist autocompletion
This commit is contained in:
@@ -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 &&
|
||||
|
||||
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user