From 6ef0335321a0dd678e6f0cd17a1a02dc8b05813e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakob=20R=C3=B6hrl?= Date: Fri, 25 Jan 2019 09:17:38 +0100 Subject: [PATCH] hide sidebar after card deletion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakob Röhrl --- js/controller/BoardController.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/controller/BoardController.js b/js/controller/BoardController.js index d920f56c3..232bc4ec4 100644 --- a/js/controller/BoardController.js +++ b/js/controller/BoardController.js @@ -246,6 +246,7 @@ app.controller('BoardController', function ($rootScope, $scope, $stateParams, St $scope.cardDelete = function (card) { CardService.delete(card.id).then(function () { StackService.removeCard(card); + $scope.sidebar.show = false; }); };