JS: Fix scrutinizer warnings and indentation for filters
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
committed by
Julius Härtl
parent
516e396a58
commit
9014ae1490
@@ -20,6 +20,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
/** global: oc_defaults */
|
||||
app.controller('BoardController', function ($rootScope, $scope, $stateParams, StatusService, BoardService, StackService, CardService, LabelService, $state, $transitions, $filter) {
|
||||
|
||||
$scope.sidebar = $rootScope.sidebar;
|
||||
@@ -45,8 +46,8 @@ app.controller('BoardController', function ($rootScope, $scope, $stateParams, St
|
||||
|
||||
$scope.board = BoardService.getCurrent();
|
||||
StackService.clear(); //FIXME: Is this still needed?
|
||||
$scope.setPageTitle = function() {
|
||||
if(BoardService.getCurrent()) {
|
||||
$scope.setPageTitle = function () {
|
||||
if (BoardService.getCurrent()) {
|
||||
document.title = BoardService.getCurrent().title + " | Deck - " + oc_defaults.name;
|
||||
} else {
|
||||
document.title = "Deck - " + oc_defaults.name;
|
||||
|
||||
Reference in New Issue
Block a user