mirror of
https://github.com/nasa/openmct.git
synced 2025-03-10 22:43:55 +00:00
[Tutorials] Remove diff markings in TodoController
This commit is contained in:
parent
7aa034ce23
commit
1954d98628
@ -45,10 +45,10 @@ define(function () {
|
|||||||
showCompleted = completed;
|
showCompleted = completed;
|
||||||
};
|
};
|
||||||
|
|
||||||
+ // Check if current visibility settings match
|
// Check if current visibility settings match
|
||||||
+ $scope.checkVisibility = function (all, completed) {
|
$scope.checkVisibility = function (all, completed) {
|
||||||
+ return showAll ? all : (completed === showCompleted);
|
return showAll ? all : (completed === showCompleted);
|
||||||
+ };
|
};
|
||||||
|
|
||||||
// Toggle the completion state of a task
|
// Toggle the completion state of a task
|
||||||
$scope.toggleCompletion = function (taskIndex) {
|
$scope.toggleCompletion = function (taskIndex) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user