summaryrefslogtreecommitdiffstats
path: root/app/common/directives/firmware-list.js
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2018-03-01 16:19:37 -0600
committerGunnar Mills <gmills@us.ibm.com>2018-03-05 11:49:45 -0600
commit6473a41d6c377667993ee9b82485867c4d6fc21c (patch)
treee0d98323a1b167f6468d870b6ddf6420222cc63c /app/common/directives/firmware-list.js
parenteedefd3ead28d0d276539552faad54bb709a7af5 (diff)
downloadphosphor-webui-6473a41d6c377667993ee9b82485867c4d6fc21c.tar.gz
phosphor-webui-6473a41d6c377667993ee9b82485867c4d6fc21c.zip
Display Version when confirming changing priority
Before the GUI displayed when changing the priority: "Change firmware e129c45b priority?" It now displays: "Change firmware v2.0-165-ge571670 priority?" This is important since the user never sees the image ID (e.g. e129c45b) and always sees the image version (e.g. v2.0-165-ge571670). Tested: confirmed text is correct and change priority works Change-Id: Ie9403aaade8a307b6de54feef20adc2b04e2b80b Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'app/common/directives/firmware-list.js')
-rw-r--r--app/common/directives/firmware-list.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/common/directives/firmware-list.js b/app/common/directives/firmware-list.js
index 781257e..69a8bdd 100644
--- a/app/common/directives/firmware-list.js
+++ b/app/common/directives/firmware-list.js
@@ -23,10 +23,10 @@ window.angular && (function (angular) {
$scope.$parent.deleteImage(imageId);
}
- $scope.changePriority = function(imageId, from, to){
- $scope.$parent.changePriority(imageId, from, to);
+ $scope.changePriority = function(imageId, imageVersion, from, to){
+ $scope.$parent.changePriority(imageId, imageVersion, from, to);
}
}]
};
}]);
-})(window.angular); \ No newline at end of file
+})(window.angular);
OpenPOWER on IntegriCloud