More minor fixes for cloud/onprem to be in line
This commit is contained in:
@@ -842,7 +842,7 @@ const AppAuthTab = memo((props) => {
|
||||
hitsPerPage={5}
|
||||
searchQuery={searchQuery}
|
||||
globalUrl={globalUrl}
|
||||
isCloud={isCloud}
|
||||
isCloud={isCloud !== true}
|
||||
userdata={userdata}
|
||||
getAppAuthentication={getAppAuthentication}
|
||||
/>
|
||||
@@ -878,6 +878,7 @@ const AppAuthTab = memo((props) => {
|
||||
style={{ color: '#1a1a1a', textTransform: 'none', backgroundColor: "#FF8444", marginLeft:"auto", borderRadius: 4,fontSize: 16, minWidth: 162, height: 40, boxShadow:'none', }}
|
||||
variant="contained"
|
||||
color="primary"
|
||||
disabled={!isCloud}
|
||||
onClick={() => setShowAppModal(true)}
|
||||
>
|
||||
Add App Auth
|
||||
|
||||
@@ -198,7 +198,7 @@ export const findSpecificApp = (framework, inputcategory) => {
|
||||
id: "",
|
||||
}
|
||||
} else {
|
||||
console.log("findSpecificApp: unknown category: ", category)
|
||||
//console.log("findSpecificApp: unknown category: ", category)
|
||||
}
|
||||
|
||||
return null
|
||||
|
||||
@@ -88,7 +88,7 @@ const AppSearchButtons = (props) => {
|
||||
|
||||
const foundApp = findSpecificApp(appFramework, appType)
|
||||
if (foundApp === undefined || foundApp === null) {
|
||||
console.log("AppSearchButtons: App not found in appFramework: " + appType)
|
||||
//console.log("AppSearchButtons: App not found in appFramework: " + appType)
|
||||
return null
|
||||
}
|
||||
|
||||
|
||||
@@ -361,7 +361,7 @@ const ParsedAction = (props) => {
|
||||
}
|
||||
|
||||
if (keyorder.join(",") !== newkeyorder.join(",")) {
|
||||
console.log("KEYORDER CHANGED! DID ACTION AS WELL?", keyorder, newkeyorder)
|
||||
//console.log("KEYORDER CHANGED! DID ACTION AS WELL?", keyorder, newkeyorder)
|
||||
|
||||
setSelectedActionParameters(newparams)
|
||||
selectedAction.parameters = newparams
|
||||
@@ -3658,6 +3658,12 @@ const ParsedAction = (props) => {
|
||||
</Box>
|
||||
);
|
||||
|
||||
if (selectedApp.name === "email") {
|
||||
//hideBody = false
|
||||
showButtonField = false
|
||||
hideBodyButtonValue = null
|
||||
}
|
||||
|
||||
|
||||
if ((multiline === undefined || multiline === false) && ((data?.autocompleted === true || data?.field_active === true) || data.name.startsWith("${") && data.name.endsWith("}"))) {
|
||||
multiline = true
|
||||
|
||||
Reference in New Issue
Block a user