mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-23 12:27:48 +00:00
fix search filter user name style (#7824)
This commit is contained in:
@@ -76,9 +76,7 @@ const FilterByCreator = ({ creatorList, onChange }) => {
|
||||
const getUsers = async () => {
|
||||
try {
|
||||
const res = await seafileAPI.searchUsers(searchValue);
|
||||
const userList = res.data.users
|
||||
.filter(user => user.name.toLowerCase().includes(searchValue.toLowerCase()));
|
||||
|
||||
const userList = res.data.users.filter(user => user.name.toLowerCase().includes(searchValue.toLowerCase()));
|
||||
setOptions(userList);
|
||||
} catch (err) {
|
||||
toaster.danger(Utils.getErrorMsg(err));
|
||||
|
@@ -25,6 +25,7 @@
|
||||
|
||||
.user-item .user-name {
|
||||
margin-left: 5px;
|
||||
color: #212529;
|
||||
}
|
||||
|
||||
.user-item .user-avatar img {
|
||||
|
Reference in New Issue
Block a user