Skip to content

Instantly share code, notes, and snippets.

@jjergus
Created October 5, 2019 20:59
Show Gist options
  • Save jjergus/45f193da954aeb632930ade0200ab473 to your computer and use it in GitHub Desktop.
Save jjergus/45f193da954aeb632930ade0200ab473 to your computer and use it in GitHub Desktop.
aws-fix.patch
--- 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