mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
remove unnecessary escapeHTML in UserCardBox
This commit is contained in:
parent
6eb6d75797
commit
10419dcd48
1 changed files with 1 additions and 2 deletions
|
@ -5,7 +5,6 @@ import { getLocaleWithSuffix } from '../../../utils/dateFnsLocale';
|
|||
import globalize from '../../../lib/globalize';
|
||||
import IconButtonElement from '../../../elements/IconButtonElement';
|
||||
import LinkButton from '../../../elements/emby-button/LinkButton';
|
||||
import escapeHTML from 'escape-html';
|
||||
import { getDefaultBackgroundClass } from '../../cardbuilder/cardBuilderUtils';
|
||||
|
||||
type IProps = {
|
||||
|
@ -73,7 +72,7 @@ const UserCardBox: FunctionComponent<IProps> = ({ user = {} }: IProps) => {
|
|||
/>
|
||||
</div>
|
||||
<div className='cardText'>
|
||||
<span>{escapeHTML(user.Name)}</span>
|
||||
<span>{user.Name}</span>
|
||||
</div>
|
||||
<div className='cardText cardText-secondary'>
|
||||
<span>{lastSeen != '' ? lastSeen : ''}</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue