From c1ffd024916f993cfc416a0a54353b11a03af64d Mon Sep 17 00:00:00 2001 From: Glowbal Date: Thu, 10 Nov 2016 03:25:31 +0100 Subject: [PATCH] fix(container-details): fix an issue with the leave network action --- app/components/container/containerController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/container/containerController.js b/app/components/container/containerController.js index 1c4f78cb9..87d996f44 100644 --- a/app/components/container/containerController.js +++ b/app/components/container/containerController.js @@ -162,7 +162,7 @@ function ($scope, $state, $stateParams, $filter, Container, ContainerCommit, Ima } else { $('#loadingViewSpinner').hide(); 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) { $('#loadingViewSpinner').hide();