1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

apply suggestions

This commit is contained in:
grafixeyehero 2021-10-23 18:11:05 +03:00
parent 3ad2c1bfd1
commit e6b614c6f2
2 changed files with 7 additions and 10 deletions

View file

@ -18,14 +18,14 @@ type IProps = {
options?: string
}
const InputElement: FunctionComponent<IProps> = ({ type, id, label, ...rest }: IProps) => {
const InputElement: FunctionComponent<IProps> = ({ type, id, label, options }: IProps) => {
return (
<div
dangerouslySetInnerHTML={createInputElement({
type: type,
id: id,
label: globalize.translate(label),
options: rest.options ? rest.options : ''
options: options ? options : ''
})}
/>
);