Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/volto/news/+userscp.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update the users controlpanel to be compatible with the new response format of the users endpoint introduced in https://github.com/plone/plone.restapi/pull/1971. @jnptk
2 changes: 1 addition & 1 deletion packages/volto/src/reducers/users/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export default function users(state = initialState, action = {}) {
case `${LIST_USERS}_SUCCESS`:
return {
...state,
users: action.result,
users: action.result.items ? action.result.items : action.result,
[getRequestKey(action.type)]: {
loading: false,
loaded: true,
Expand Down
2 changes: 0 additions & 2 deletions packages/volto/theme/themes/pastanaga/extras/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -394,8 +394,6 @@ button {
}

.users-control-panel .table {
overflow-x: scroll;

&::-webkit-scrollbar {
width: 3px;
height: 3px; /* scrollbar height */
Expand Down