Show error details when trying to import invalid json

This commit is contained in:
Nick O'Leary
2018-10-23 23:06:43 +01:00
parent f488869635
commit 09abec15b1
4 changed files with 107 additions and 5 deletions

View File

@@ -170,7 +170,12 @@
},
"import": {
"import": "Import to",
"newFlow": "new flow"
"newFlow": "new flow",
"errors": {
"invalidFlowNotObject": "Input not a valid flow - item __index__ not a node object",
"invalidFlowMissingId": "Input not a valid flow - item __index__ missing 'id' property",
"invalidFlowMissingType": "Input not a valid flow - item __index__ missing 'type' property"
}
},
"copyMessagePath": "Path copied",
"copyMessageValue": "Value copied",