mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-27 02:33:43 +08:00
Merge pull request #2591 from philjak/add_bookshelf_view_type_to_env
Adding APP_VIEWS_BOOKSHELF to .ENV
This commit is contained in:
commit
7b6f8cb902
|
@ -250,6 +250,7 @@ DRAWIO=true
|
||||||
# Can be 'list' or 'grid'.
|
# Can be 'list' or 'grid'.
|
||||||
APP_VIEWS_BOOKS=list
|
APP_VIEWS_BOOKS=list
|
||||||
APP_VIEWS_BOOKSHELVES=grid
|
APP_VIEWS_BOOKSHELVES=grid
|
||||||
|
APP_VIEWS_BOOKSHELF=grid
|
||||||
|
|
||||||
# Use dark mode by default
|
# Use dark mode by default
|
||||||
# Will be overriden by any user/session preference.
|
# Will be overriden by any user/session preference.
|
||||||
|
|
|
@ -28,6 +28,7 @@ return [
|
||||||
'user' => [
|
'user' => [
|
||||||
'dark-mode-enabled' => env('APP_DEFAULT_DARK_MODE', false),
|
'dark-mode-enabled' => env('APP_DEFAULT_DARK_MODE', false),
|
||||||
'bookshelves_view_type' => env('APP_VIEWS_BOOKSHELVES', 'grid'),
|
'bookshelves_view_type' => env('APP_VIEWS_BOOKSHELVES', 'grid'),
|
||||||
|
'bookshelf_view_type' =>env('APP_VIEWS_BOOKSHELF', 'grid'),
|
||||||
'books_view_type' => env('APP_VIEWS_BOOKS', 'grid'),
|
'books_view_type' => env('APP_VIEWS_BOOKS', 'grid'),
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user