-
-
-
-
+ Users />
+ App Authentication/>
+ Environments/>
+ Schedules />
+ {window.location.protocol == "http:" && window.location.port === "3000" ? Hybrid/> : null}
+ {window.location.protocol == "http:" && window.location.port === "3000" ? Organizations/> : null}
@@ -1022,6 +1139,8 @@ const Admin = (props) => {
{usersView}
{environmentView}
{schedulesView}
+ {hybridTab}
+ {organizationsTab}
diff --git a/frontend/src/AngularWorkflow.js b/frontend/src/AngularWorkflow.js
index 31f792c4..4814c54a 100644
--- a/frontend/src/AngularWorkflow.js
+++ b/frontend/src/AngularWorkflow.js
@@ -950,6 +950,10 @@ const AngularWorkflow = (props) => {
if (curaction.selectedAuthentication === null || curaction.selectedAuthentication === undefined || curaction.selectedAuthentication.length === "") {
curaction.selectedAuthentication = {}
}
+ } else {
+ curaction.authentication = []
+ curaction.authentication_id = ""
+ curaction.selectedAuthentication = {}
}
setSelectedApp(curapp)
@@ -2998,7 +3002,7 @@ const AngularWorkflow = (props) => {
paddingLeft: 10,
minHeight: "100%",
zIndex: 1000,
- resize: "horizontal",
+ resize: "vertical",
overflow: "auto",
}
diff --git a/frontend/src/App.js b/frontend/src/App.js
index c162b774..42cd96ed 100644
--- a/frontend/src/App.js
+++ b/frontend/src/App.js
@@ -31,8 +31,8 @@ import LandingPageNew from "./LandingpageNew";
import LoginPage from "./LoginPage";
import SettingsPage from "./SettingsPage";
-import MuiThemeProvider from '@material-ui/core/styles/MuiThemeProvider';
-import { createMuiTheme } from '@material-ui/core/styles';
+//import MuiThemeProvider from '@material-ui/core/styles/MuiThemeProvider';
+import { createMuiTheme, ThemeProvider as MuiThemeProvider } from '@material-ui/core/styles';
import AlertTemplate from "react-alert-template-basic";
import { positions, Provider } from "react-alert";
@@ -100,6 +100,7 @@ const App = (message, props) => {
.then(response => response.json())
.then(responseJson => {
if (responseJson.success === true) {
+ console.log(responseJson)
setUserData(responseJson)
setIsLoggedIn(true)
@@ -127,7 +128,7 @@ const App = (message, props) => {