mirror of
https://github.com/cloudreve/frontend.git
synced 2025-12-25 19:52:48 +00:00
fix(dashboard): add missing utils for thumb setting
This commit is contained in:
parent
921ce720b9
commit
ca831dbe19
|
|
@ -161,3 +161,12 @@ export const removeI18nCache = () => {
|
|||
}
|
||||
});
|
||||
};
|
||||
|
||||
export const getSelectItemStyles = (name, personName, theme) => {
|
||||
return {
|
||||
fontWeight:
|
||||
personName.indexOf(name) === -1
|
||||
? theme.typography.fontWeightRegular
|
||||
: theme.typography.fontWeightMedium,
|
||||
};
|
||||
};
|
||||
Loading…
Reference in New Issue