Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/commit/3199fe08e8ec95e9fe80c3bd57bc24e5a3d73625
You should set ROOT_URL correctly, otherwise the web may not work correctly.
7 changed files with
31 additions and
11 deletions
@ -3,16 +3,21 @@ import { connect } from 'react-redux';
import { createSelector } from 'reselect' ;
import sortByName from 'Utilities/Array/sortByName' ;
import { filterBuilderTypes } from 'Helpers/Props' ;
import * as filterTypes from 'Helpers/Props/filterTypes' ;
import FilterBuilderRowValue from './FilterBuilderRowValue' ;
function createTagListSelector ( ) {
return createSelector (
( state , { filterType } ) => filterType ,
( state , { sectionItems } ) => sectionItems ,
( state , { selectedFilterBuilderProp } ) => selectedFilterBuilderProp ,
( sectionItems, selectedFilterBuilderProp ) => {
( filterType, sectionItems, selectedFilterBuilderProp ) => {
if (
selectedFilterBuilderProp . type === filterBuilderTypes . NUMBER ||
selectedFilterBuilderProp . type === filterBuilderTypes . STRING
( selectedFilterBuilderProp . type === filterBuilderTypes . NUMBER ||
selectedFilterBuilderProp . type === filterBuilderTypes . STRING ) &&
filterType !== filterTypes . EQUAL &&
filterType !== filterBuilderTypes . NOT _EQUAL ||
! selectedFilterBuilderProp . optionsSelector
) {
return [ ] ;
}
@ -1,4 +1,6 @@
. tag {
height : 21px ;
& . isLastTag {
. or {
display : none ;
@ -7,7 +9,7 @@
}
. label {
composes : label from '~Components/Label.css' ;
composes : label from "~Components/Label.css" ;
border-style : none ;
font-size : 13px ;
@ -29,10 +29,10 @@ function CustomFiltersModalContent(props) {
< ModalBody >
{
customFilters . map ( ( customFilter , index ) => {
customFilters . map ( ( customFilter ) => {
return (
< CustomFilter
key = { index }
key = { customFilter. id }
id = { customFilter . id }
label = { customFilter . label }
filters = { customFilter . filters }
@ -1,13 +1,13 @@
. input {
composes : input from '~Components/Form/Input.css' ;
composes : input from "~Components/Form/Input.css" ;
}
. hasError {
composes : hasError from '~Components/Form/Input.css' ;
composes : hasError from "~Components/Form/Input.css" ;
}
. hasWarning {
composes : hasWarning from '~Components/Form/Input.css' ;
composes : hasWarning from "~Components/Form/Input.css" ;
}
. inputContainer {
@ -37,6 +37,7 @@
. suggestionsList {
margin : 5px 0 ;
padding-left : 0 ;
max-height : 200px ;
list-style-type : none ;
}
@ -14,10 +14,11 @@
. internalInput {
flex : 1 1 0 % ;
margin-top : -6px ;
margin-left : 3px ;
min-width : 20 % ;
max-width : 100 % ;
width : 0 % ;
height : 2 1px;
height : 3 1px;
border : none ;
}
@ -6,5 +6,6 @@
display : flex ;
flex-wrap : wrap ;
padding : 6px 16px ;
height : 33px ;
cursor : default ;
}
@ -270,7 +270,17 @@ export const defaultState = {
{
name : 'network' ,
label : 'Network' ,
type : filterBuilderTypes . STRING
type : filterBuilderTypes . STRING ,
optionsSelector : function ( items ) {
const tagList = items . map ( ( series ) => {
return {
id : series . network ,
name : series . network
} ;
} ) ;
return tagList . sort ( sortByName ) ;
}
} ,
{
name : 'qualityProfileId' ,