diff --git a/dashboard/src/views/app.html b/dashboard/src/views/app.html index 2c17c1f9d..463bebcad 100644 --- a/dashboard/src/views/app.html +++ b/dashboard/src/views/app.html @@ -772,14 +772,14 @@
-
+
{{ item.message }}
-
+
{{ item.message }} diff --git a/dashboard/src/views/app.js b/dashboard/src/views/app.js index d4c1259f3..7e21f346d 100644 --- a/dashboard/src/views/app.js +++ b/dashboard/src/views/app.js @@ -137,7 +137,6 @@ angular.module('Application').controller('AppController', ['$scope', '$location' }; $scope.info = { - checklist: [], showDoneChecklist: false, notes: { @@ -174,16 +173,15 @@ angular.module('Application').controller('AppController', ['$scope', '$location' }, show: function () { - $scope.info.checklist = $scope.app.checklist; $scope.info.notes.content = $scope.app.notes; $scope.info.notes.editing = false; $scope.info.notes.busy = false; }, checklistAck(item) { - item.acknowledged = !item.acknowledged; + item.acknowledged = true; - Client.configureApp($scope.app.id, 'checklist', { checklist: $scope.info.checklist }, function (error) { + Client.configureApp($scope.app.id, 'checklist', { checklist: $scope.app.checklist }, function (error) { if (error) return console.error('Failed to save checklist.', error); }); }