diff options
author | Pedro Alvarez <palvarez89@gmail.com> | 2015-10-02 15:16:55 +0200 |
---|---|---|
committer | Pedro Alvarez <palvarez89@gmail.com> | 2015-10-02 15:16:55 +0200 |
commit | 34347b7c3153d35ac16c2540b35179ad2f6e5239 (patch) | |
tree | 211dd08385accdc7f26e4183eea6c69bcc008eb1 /js | |
parent | 805d60a020f72ced99a9229453760e7824c4d7a0 (diff) | |
download | ciat-ui-34347b7c3153d35ac16c2540b35179ad2f6e5239.tar.gz |
State now in selected.state (Idle - In progress)
Diffstat (limited to 'js')
-rw-r--r-- | js/main.js | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -152,6 +152,12 @@ app.controller('VisualisationController', function($scope, $http, $q, $interval) } else { $scope.selected = step; } + if ($scope.selected.data.state === "building") { + $scope.selected.state = "In progress"; + } + else { + $scope.selected.state = "Idle"; + } }; function cancelRefresh() { |