You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
711 B
34 lines
711 B
4 months ago
|
import React from 'react';
|
||
|
import FilterBuilderRowValueProps from 'Components/Filter/Builder/FilterBuilderRowValueProps';
|
||
|
import translate from 'Utilities/String/translate';
|
||
|
import FilterBuilderRowValue from './FilterBuilderRowValue';
|
||
|
|
||
|
const options = [
|
||
|
{
|
||
|
id: 'all',
|
||
|
get name() {
|
||
|
return translate('AllAlbums');
|
||
|
},
|
||
|
},
|
||
|
{
|
||
|
id: 'new',
|
||
|
get name() {
|
||
|
return translate('New');
|
||
|
},
|
||
|
},
|
||
|
{
|
||
|
id: 'none',
|
||
|
get name() {
|
||
|
return translate('None');
|
||
|
},
|
||
|
},
|
||
|
];
|
||
|
|
||
|
function MonitorNewItemsFilterBuilderRowValue(
|
||
|
props: FilterBuilderRowValueProps
|
||
|
) {
|
||
|
return <FilterBuilderRowValue tagList={options} {...props} />;
|
||
|
}
|
||
|
|
||
|
export default MonitorNewItemsFilterBuilderRowValue;
|