From d60bf94501d6e5be971f9334c89437156a2092e9 Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Tue, 10 Nov 2015 16:03:42 -0800 Subject: [PATCH] [Plot] Remove unnecessary fallback --- platform/features/plot/src/PlotController.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/features/plot/src/PlotController.js b/platform/features/plot/src/PlotController.js index 3cc5392049..84350fe646 100644 --- a/platform/features/plot/src/PlotController.js +++ b/platform/features/plot/src/PlotController.js @@ -122,8 +122,8 @@ define( // Reinstantiate the plot updater (e.g. because we have a // new subscription.) This will clear the plot. function recreateUpdater() { - var domain = ($scope.axes[0].active || {}).key, - range = ($scope.axes[1].active || {}).key, + var domain = $scope.axes[0].active.key, + range = $scope.axes[1].active.key, duration = PLOT_FIXED_DURATION; updater = new PlotUpdater(handle, domain, range, duration);