Skip to content

Commit

Permalink
Add is_default field to /admin/libraries response
Browse files Browse the repository at this point in the history
it's not super clear currently in the admin UI that collections
defined for default library are applied to all other libraries.

By passing this extra field we can then display some extra info
on the admin UI side.
  • Loading branch information
attemoi committed Apr 4, 2024
1 parent 06edca7 commit 154b065
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/admin/controller/library_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ def process_get(self) -> Response:
name=library.name,
short_name=library.short_name,
settings=settings,
is_default=library.is_default,
)
]
return Response(
Expand Down

0 comments on commit 154b065

Please sign in to comment.