mirror of
https://github.com/nasa/openmct.git
synced 2024-12-18 20:57:53 +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;
|
||||
};
|
||||
|
||||
+ // Check if current visibility settings match
|
||||
+ $scope.checkVisibility = function (all, completed) {
|
||||
+ return showAll ? all : (completed === showCompleted);
|
||||
+ };
|
||||
// Check if current visibility settings match
|
||||
$scope.checkVisibility = function (all, completed) {
|
||||
return showAll ? all : (completed === showCompleted);
|
||||
};
|
||||
|
||||
// Toggle the completion state of a task
|
||||
$scope.toggleCompletion = function (taskIndex) {
|
||||
|
Loading…
Reference in New Issue
Block a user