added default library layout setting
so you can decide if you show list or grid by default
This commit is contained in:
parent
eebdb25a39
commit
fc231e1c0b
4 changed files with 15 additions and 3 deletions
|
@ -32,7 +32,8 @@ function SubsonicCtrl($scope, $rootScope, $location, $window, $routeParams, util
|
|||
$scope.sortSubsonicAlbums(newValue);
|
||||
}
|
||||
});
|
||||
$scope.selectedLayout = 'grid';
|
||||
$scope.selectedLayout = globals.settings.DefaultLibraryLayout;
|
||||
//not sure how to just grab the layouts hash from the settings controller
|
||||
$scope.Layouts = [
|
||||
{ id: "list", name: "List" },
|
||||
{ id: "grid", name: "Grid" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue