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

Add "AllowedTags" option to parental controls

This commit is contained in:
Jpuc1143 2023-02-22 15:10:20 -03:00 committed by Bill Thornton
parent 2956de9095
commit adb22abdc2
4 changed files with 126 additions and 48 deletions

View file

@ -2,10 +2,11 @@ import React, { FunctionComponent } from 'react';
import IconButtonElement from '../../../elements/IconButtonElement';
type IProps = {
tag?: string;
tag?: string,
tagType?: string;
};
const BlockedTagList: FunctionComponent<IProps> = ({ tag }: IProps) => {
const TagList: FunctionComponent<IProps> = ({ tag, tagType }: IProps) => {
return (
<div className='paperList'>
<div className='listItem'>
@ -16,7 +17,7 @@ const BlockedTagList: FunctionComponent<IProps> = ({ tag }: IProps) => {
</div>
<IconButtonElement
is='paper-icon-button-light'
className='blockedTag btnDeleteTag listItemButton'
className={`${tagType} btnDeleteTag listItemButton`}
title='Delete'
icon='delete'
dataTag={tag}
@ -26,4 +27,4 @@ const BlockedTagList: FunctionComponent<IProps> = ({ tag }: IProps) => {
);
};
export default BlockedTagList;
export default TagList;