mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-02-13 10:52:53 +00:00
fix: fix remove tast function
This commit is contained in:
@@ -383,7 +383,7 @@ angular
|
||||
|
||||
$scope.removeToast = function (toast) {
|
||||
const index = $scope.toasts.indexOf(toast);
|
||||
$scope.toasts = $scope.toasts.splice(index, index);
|
||||
$scope.toasts.splice(index, 1);
|
||||
};
|
||||
|
||||
$scope.path = $location.url();
|
||||
|
||||
Reference in New Issue
Block a user