reverting styling changes made to TriggersView
This commit is contained in:
@@ -7848,7 +7848,7 @@ const AngularWorkflow = (defaultprops) => {
|
|||||||
|
|
||||||
if (trigger.trigger_type === "PIPELINE") {
|
if (trigger.trigger_type === "PIPELINE") {
|
||||||
if (userdata.support !== true) {
|
if (userdata.support !== true) {
|
||||||
// return null
|
return null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -7913,31 +7913,26 @@ const AngularWorkflow = (defaultprops) => {
|
|||||||
></div>
|
></div>
|
||||||
<Grid
|
<Grid
|
||||||
container
|
container
|
||||||
style={{ margin: isMobile ? "10px 0px 0px 0px" : "10px 10px 10px 10px", flex: "10", alignItems: 'center' }}
|
style={{ margin: isMobile ? "10px 0px 0px 0px" : "10px 10px 10px 10px", flex: "10" }}
|
||||||
wrap="nowrap"
|
|
||||||
>
|
>
|
||||||
<Grid item>
|
<Grid item>
|
||||||
<ButtonBase>{imageline}</ButtonBase>
|
<ButtonBase>{imageline}</ButtonBase>
|
||||||
</Grid>
|
</Grid>
|
||||||
{isMobile ? null :
|
{isMobile ? null :
|
||||||
<Grid
|
<Grid
|
||||||
item
|
style={{
|
||||||
container
|
display: "flex",
|
||||||
style={{
|
flexDirection: "column",
|
||||||
display: "flex",
|
marginLeft: 20,
|
||||||
flexDirection: "column",
|
overflow: "hidden",
|
||||||
marginLeft: 20,
|
}}
|
||||||
flexGrow: 1,
|
>
|
||||||
overflow: "hidden",
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
|
|
||||||
<Grid item style={{ flex: "1", overflow: "hidden", }}>
|
<Grid item style={{ flex: "1", overflow: "hidden", }}>
|
||||||
<h3 style={{ marginTop: 0, marginBottom: 0, wordBreak: "break-word", overflowWrap: "break-word", flexBasis: 'auto' }}>
|
<h3 style={{ marginTop: 0, marginBottom: 0, overflow: "hidden" }}>
|
||||||
{trigger.name}
|
{trigger.name}
|
||||||
</h3>
|
</h3>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid item style={{ flex: "1", wordBreak: "break-word", overflowWrap: "break-word", whiteSpace: "normal", flexBasis: 'auto' }}>
|
<Grid item style={{ flex: "1" }}>
|
||||||
{trigger.description}
|
{trigger.description}
|
||||||
</Grid>
|
</Grid>
|
||||||
</Grid>
|
</Grid>
|
||||||
@@ -8876,11 +8871,11 @@ const AngularWorkflow = (defaultprops) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (app.trigger_type === "PIPELINE" && userdata.support !== true) {
|
if (app.trigger_type === "PIPELINE" && userdata.support !== true) {
|
||||||
//return null
|
return null
|
||||||
}
|
}
|
||||||
|
|
||||||
if (app.id === "integration" && userdata.support !== true) {
|
if (app.id === "integration" && userdata.support !== true) {
|
||||||
//return null
|
return null
|
||||||
}
|
}
|
||||||
|
|
||||||
var extraMessage = ""
|
var extraMessage = ""
|
||||||
@@ -13784,7 +13779,7 @@ const AngularWorkflow = (defaultprops) => {
|
|||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|
||||||
const PipelineSidebar = Object.getOwnPropertyNames(selectedTrigger).length === 0 || workflow.triggers[selectedTriggerIndex] === undefined && selectedTrigger.trigger_type !== "SCHEDULE" ? null :
|
const PipelineSidebar = Object.getOwnPropertyNames(selectedTrigger).length === 0 || workflow.triggers[selectedTriggerIndex] === undefined && selectedTrigger.trigger_type !== "SCHEDULE" ? null : !userdata.support === true ? null :
|
||||||
<div style={appApiViewStyle}>
|
<div style={appApiViewStyle}>
|
||||||
<h3 style={{ marginBottom: "5px" }}>
|
<h3 style={{ marginBottom: "5px" }}>
|
||||||
{selectedTrigger.app_name}: {selectedTrigger.status}
|
{selectedTrigger.app_name}: {selectedTrigger.status}
|
||||||
|
|||||||
Reference in New Issue
Block a user