Created
October 5, 2019 20:59
-
-
Save jjergus/45f193da954aeb632930ade0200ab473 to your computer and use it in GitHub Desktop.
aws-fix.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- grapheneConsole_prod_9891aad10fbfee486a25652151996660992a4062.js 2019-10-01 09:14:21.000000000 -0700 | |
+++ grapheneConsole_prod_fixed.js 2019-10-05 13:58:19.270413078 -0700 | |
@@ -21394,20 +21394,21 @@ | |
} | |
}; | |
return getNextPage([], nextToken, true); | |
} | |
function selectStateInstanceFromIterationTree(stateInstanceIterations, selectedMapIterations) { | |
var currentStateInstanceIterations = stateInstanceIterations; | |
while (angular.isObject(currentStateInstanceIterations)) { | |
var keys = Object.keys(currentStateInstanceIterations); | |
+ if (keys.length == 0) { return; } | |
for (var i in keys) { | |
var key = keys[i]; | |
var index = selectedMapIterations[key]; | |
currentStateInstanceIterations = currentStateInstanceIterations[key].iterationTree[index]; | |
if (angular.isUndefined(currentStateInstanceIterations)) { | |
return; | |
} | |
if (!angular.isObject(currentStateInstanceIterations.iterationTree)) { | |
return currentStateInstanceIterations; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment