fix: fix remove tast function

This commit is contained in:
tdurieux
2021-09-09 13:18:04 +02:00
parent 2cdd417056
commit 3133d56fe1

View File

@@ -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();