Bumped sync with cloud issues

This commit is contained in:
Frikky
2025-01-23 17:05:34 +01:00
parent b485690eea
commit d1d4ffaf01
13 changed files with 1052 additions and 771 deletions
File diff suppressed because it is too large Load Diff
+6 -1
View File
@@ -215,7 +215,12 @@ const ApiExplorerWrapper = (props) => {
})
.then((responseJson) => {
if (responseJson.success === true) {
handleDecodeOfOpenApiData(responseJson);
if (responseJson.openapi === undefined || responseJson.openapi === null) {
toast.warning("Loaded App, but no API found. Redirecting to app search..")
navigate(`/apps/${appid}`)
} else {
handleDecodeOfOpenApiData(responseJson);
}
} else {
toast.error("Failed to get app data or App doesn't exist (4)");
}
+4 -4
View File
@@ -100,7 +100,7 @@ export const CopyToClipboard = (props) => {
)
}
export const Paragrah = (props) => {
export const Paragraph = (props) => {
const element = React.createElement(
`p`,
{},
@@ -123,7 +123,7 @@ export const Paragrah = (props) => {
return (
<div>
<div>
{element}
</div>
)
@@ -793,7 +793,7 @@ const Docs = (defaultprops) => {
maxWidth: "100%",
minWidth: "100%",
overflow: "hidden",
fontSize: isMobile ? "1.3rem" : "0.8rem",
fontSize: isMobile ? "1.3rem" : "1rem",
};
const alertNote = {
@@ -935,7 +935,7 @@ const Docs = (defaultprops) => {
h5: Heading,
h6: Heading,
a: OuterLink,
p: Paragrah,
p: Paragraph,
blockquote: Blockquote,
}
+1 -1
View File
@@ -148,7 +148,7 @@ const SetAuthentication = (props) => {
console.log("App: ", app)
return (
<div style={{width: 1000, margin: "auto", marginTop: 50, }}>
<div style={{width: 1000, margin: "auto", paddingTop: 50, }}>
{loadFail !== "" ?
loadFail
:
-1
View File
@@ -649,7 +649,6 @@ const DropzoneWrapper = memo(({ onDrop, WorkflowView }) => {
const Workflows2 = (props) => {
const { globalUrl, isLoggedIn, isLoaded, userdata, checkLogin } = props;
const { leftSideBarOpenByClick } = useContext(Context);
const location = useLocation();
const navigate = useNavigate();
const [currTab, setCurrTab] = useState(0);