mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 04:15:28 +02:00
* chore(eslint): update esllint and remove unused variables
* chore(eslint-config): change no-unused-vars to warn * chore(eslint): remove unused variables * chore(eslint): allow unused globals * fixup! chore(eslint): allow unused globals * chore(eslint): remove commented unused vars * fixup! chore(eslint): remove commented unused vars
This commit is contained in:
parent
46da95ecfb
commit
e58acd7dd6
67 changed files with 121 additions and 146 deletions
|
@ -4,7 +4,7 @@ function ($scope, $transition$, $state, SecretService, Notifications) {
|
|||
|
||||
$scope.removeSecret = function removeSecret(secretId) {
|
||||
SecretService.remove(secretId)
|
||||
.then(function success(data) {
|
||||
.then(function success() {
|
||||
Notifications.success('Secret successfully removed');
|
||||
$state.go('docker.secrets', {});
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue