@@ -61,12 +61,14 @@ app.controller('ListController', function ($scope, $location, $filter, BoardServ
|
||||
$scope.boardservice.sorted = $filter('orderBy')($scope.boardservice.sorted, ['deletedAt', 'title']);
|
||||
};
|
||||
|
||||
$scope.$state = $stateParams;
|
||||
$scope.$watch('$state.filter', function (name) {
|
||||
$scope.status.filter = name;
|
||||
$scope.$watchCollection(function(){
|
||||
return $state.params;
|
||||
}, function(){
|
||||
$scope.status.filter = $state.params.filter;
|
||||
$scope.filterData();
|
||||
});
|
||||
|
||||
|
||||
$scope.selectColor = function(color) {
|
||||
$scope.newBoard.color = color;
|
||||
};
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
<td>
|
||||
<div class="hint"></div>
|
||||
<div class="app-popover-menu-utils" ng-if="b.deletedAt == 0">
|
||||
<button class="icon icon-more" title="More actions"></button>
|
||||
<button class="icon icon-more button-inline" title="More actions"></button>
|
||||
<div class="popovermenu bubble hidden">
|
||||
<ul>
|
||||
<li ng-if="boardservice.canManage(b) && !b.archived" ng-click="boardArchive(b)">
|
||||
|
||||
Reference in New Issue
Block a user