mirror of https://github.com/portainer/portainer
fix(container-details): fix an issue with the leave network action
parent
8e9dd8c2df
commit
c1ffd02491
|
@ -162,7 +162,7 @@ function ($scope, $state, $stateParams, $filter, Container, ContainerCommit, Ima
|
||||||
} else {
|
} else {
|
||||||
$('#loadingViewSpinner').hide();
|
$('#loadingViewSpinner').hide();
|
||||||
Messages.send("Container left network", $stateParams.id);
|
Messages.send("Container left network", $stateParams.id);
|
||||||
$state.go('network', {id: network.Id}, {reload: true});
|
$state.go('container', {id: $stateParams.id}, {reload: true});
|
||||||
}
|
}
|
||||||
}, function (e) {
|
}, function (e) {
|
||||||
$('#loadingViewSpinner').hide();
|
$('#loadingViewSpinner').hide();
|
||||||
|
|
Loading…
Reference in New Issue