dashboard: increase limits

master
Felix Stupp 3 years ago
parent 5d6f781f15
commit c081486eca
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -223,8 +223,8 @@ def timedelta(seconds: int) -> str:
@flask_app.route("/") @flask_app.route("/")
def dashboard(): def dashboard():
# config # config
pinned_limit = 10 pinned_limit = 16
media_limit = 10 media_limit = 24
# for links from pinned collections # for links from pinned collections
pinned_collections: Iterable[MediaCollection] = orm.select( pinned_collections: Iterable[MediaCollection] = orm.select(
m for m in MediaCollection if m.pinned and not m.ignored m for m in MediaCollection if m.pinned and not m.ignored

Loading…
Cancel
Save