Fixed workflow issues
This commit is contained in:
@@ -183,7 +183,7 @@ const AngularWorkflow = (props) => {
|
|||||||
const [update, setUpdate] = useState("");
|
const [update, setUpdate] = useState("");
|
||||||
const [workflowExecutions, setWorkflowExecutions] = React.useState([]);
|
const [workflowExecutions, setWorkflowExecutions] = React.useState([]);
|
||||||
|
|
||||||
const unloadText = 'Are you sure you want to leave?'
|
const unloadText = 'Are you sure you want to leave without saving (CTRL+S)?'
|
||||||
useBeforeunload(() => {
|
useBeforeunload(() => {
|
||||||
if (!lastSaved) {
|
if (!lastSaved) {
|
||||||
return unloadText
|
return unloadText
|
||||||
|
|||||||
@@ -689,7 +689,7 @@ const Workflows = (props) => {
|
|||||||
*/
|
*/
|
||||||
if (Object.getOwnPropertyNames(selectedExecution).length > 0 && selectedExecution.workflow.actions !== null) {
|
if (Object.getOwnPropertyNames(selectedExecution).length > 0 && selectedExecution.workflow.actions !== null) {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div style={{overflowX: "hidden"}}>
|
||||||
<div>
|
<div>
|
||||||
<b>Status:</b> {selectedExecution.status}
|
<b>Status:</b> {selectedExecution.status}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user