diff --git a/apiserver/apiserver/api/serializers.py b/apiserver/apiserver/api/serializers.py index a4742e8..db6cd2f 100644 --- a/apiserver/apiserver/api/serializers.py +++ b/apiserver/apiserver/api/serializers.py @@ -765,6 +765,7 @@ class UserSerializer(serializers.ModelSerializer): 'app_version', #'usages', 'interests', + 'storage', ] depth = 1 diff --git a/webclient/src/Members.js b/webclient/src/Members.js index 8433a25..5957fb6 100644 --- a/webclient/src/Members.js +++ b/webclient/src/Members.js @@ -235,7 +235,21 @@ export function Members(props) { : <> - Status: {x.member.status || 'Unknown'} + + Shelf: {x.member.storage.length ? + x.member.storage.map((x, i) => + + ) + : + 'None' + } + Joined: {x.member.application_date || 'Unknown'} } diff --git a/webclient/src/light.css b/webclient/src/light.css index be09837..f48b1d0 100644 --- a/webclient/src/light.css +++ b/webclient/src/light.css @@ -162,6 +162,11 @@ body { padding-right: 0.5rem; } +.ui.button.storage-button { + padding-left: 0.5rem; + padding-right: 0.5rem; +} + .ui.tag.label { padding-left: 1rem; padding-right: 0.5rem;