@@ -29,7 +29,9 @@
readonly
/>
<ui-input
- :model-value="JSON.stringify(varValue)"
+ :model-value="
+ typeof varValue === 'string' ? varValue : JSON.stringify(varValue)
+ "
label="Value"
class="w-full"
placeholder="EMPTY"
@@ -336,6 +336,7 @@ async function backupWorkflows() {
return acc;
}, []);
+
const payload = {
isProtected: state.encrypt,
workflows: JSON.stringify(workflows),
@@ -47,7 +47,7 @@ const defaultWorkflow = (data = null, options = {}) => {
settings: {
publicId: '',
blockDelay: 0,
- saveLog: false,
+ saveLog: true,
debugMode: false,
restartTimes: 3,
notification: true,