Fixed workflow issues

This commit is contained in:
frikky
2020-08-23 12:50:55 +02:00
parent 4148552b77
commit 90991071de
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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>