1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-23 04:18:21 +00:00

fix search filter user name style (#7824)

This commit is contained in:
Michael An
2025-05-15 16:52:18 +08:00
committed by GitHub
parent 975e050377
commit 5c9d4bae70
2 changed files with 2 additions and 3 deletions

View File

@@ -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));

View File

@@ -25,6 +25,7 @@
.user-item .user-name {
margin-left: 5px;
color: #212529;
}
.user-item .user-avatar img {