diff --git a/dashboard/src/js/client.js b/dashboard/src/js/client.js index d249552b1..85ee280c1 100644 --- a/dashboard/src/js/client.js +++ b/dashboard/src/js/client.js @@ -982,6 +982,15 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout }); }; + Client.prototype.ackAppChecklistItem = function (appId, key, acknowledged, callback) { + put('/api/v1/apps/' + appId + '/checklist/' + key, { done: acknowledged }, null, function (error, data, status) { + if (error) return callback(error); + if (status !== 202) return callback(new ClientError(status, data)); + + callback(null); + }); + }; + Client.prototype.updateApp = function (id, manifest, options, callback) { var data = { appStoreId: manifest.id + '@' + manifest.version, diff --git a/dashboard/src/views/app.html b/dashboard/src/views/app.html index feea398b5..6a24028b3 100644 --- a/dashboard/src/views/app.html +++ b/dashboard/src/views/app.html @@ -742,14 +742,14 @@ Hide Checklist
-