Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Radarr/commit/4956ff791458c7a114f43f01634ee023058f6c93
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
24 additions and
6 deletions
@ -4,7 +4,7 @@ import { icons } from 'Helpers/Props';
import translate from 'Utilities/String/translate' ;
import FilterMenuContent from './FilterMenuContent' ;
import Menu from './Menu' ;
import ToolbarMenuButton from './Toolbar MenuButton';
import PageMenuButton from './Page MenuButton';
import styles from './FilterMenu.css' ;
class FilterMenu extends Component {
@ -60,7 +60,7 @@ class FilterMenu extends Component {
iconName = { icons . FILTER }
text = { translate ( 'Filter' ) }
isDisabled = { isDisabled }
i ndicator= { selectedFilterKey !== 'all' }
showI ndicator= { selectedFilterKey !== 'all' }
/ >
< FilterMenuContent
@ -106,7 +106,7 @@ FilterMenu.propTypes = {
FilterMenu . defaultProps = {
className : styles . filterMenu ,
isDisabled : false ,
buttonComponent : Toolbar MenuButton
buttonComponent : Page MenuButton
} ;
export default FilterMenu ;
@ -1,13 +1,15 @@
import classNames from 'classnames' ;
import PropTypes from 'prop-types' ;
import React from 'react' ;
import Icon from 'Components/Icon' ;
import MenuButton from 'Components/Menu/MenuButton' ;
import { icons } from 'Helpers/Props' ;
import styles from './PageMenuButton.css' ;
function PageMenuButton ( props ) {
const {
iconName ,
i ndicator,
showI ndicator,
text ,
... otherProps
} = props ;
@ -22,6 +24,22 @@ function PageMenuButton(props) {
size = { 18 }
/ >
{
showIndicator ?
< span
className = { classNames (
styles . indicatorContainer ,
'fa-layers fa-fw'
) }
>
< Icon
name = { icons . CIRCLE }
size = { 9 }
/ >
< / s p a n > :
null
}
< div className = { styles . label } >
{ text }
< / d i v >
@ -32,11 +50,11 @@ function PageMenuButton(props) {
PageMenuButton . propTypes = {
iconName : PropTypes . object . isRequired ,
text : PropTypes . string ,
i ndicator: PropTypes . bool . isRequired
showI ndicator: PropTypes . bool . isRequired
} ;
PageMenuButton . defaultProps = {
i ndicator: false
showI ndicator: false
} ;
export default PageMenuButton ;