Skip to content

Commit

Permalink
fix(core): update remove method as it was throwing error.. (#7060)
Browse files Browse the repository at this point in the history
  • Loading branch information
piyush21upadhyay authored and mportuga committed Dec 3, 2019
1 parent b085c6f commit 9f58abd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/tutorial/113_adding_and_removing_columns.ngdoc
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ For better performance with the following example, you can choose to load the ui
};

vm.remove = function() {
vm.columns.splice($scope.columns.length-1, 1);
vm.columns.splice(vm.columns.length-1, 1);
};

vm.add = function() {
Expand Down

0 comments on commit 9f58abd

Please sign in to comment.