Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Lidarr/commit/7860f9ee81a8f0c9cfc7f60b667a26358a077272
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
12 additions and
4 deletions
@ -200,26 +200,30 @@ export const actionHandlers = handleThunks({
dispatch ( set ( { section , isSaving : true } ) ) ;
const d ata = {
const requestD ata = {
trackFileIds
} ;
if ( quality ) {
d ata. quality = quality ;
requestD ata. quality = quality ;
}
const promise = createAjaxRequest ( {
url : '/trackFile/editor' ,
method : 'PUT' ,
dataType : 'json' ,
data : JSON . stringify ( d ata)
data : JSON . stringify ( requestD ata)
} ) . request ;
promise . done ( ( ) => {
promise . done ( ( data ) => {
dispatch ( batchActions ( [
... trackFileIds . map ( ( id ) => {
const props = { } ;
const trackFile = data . find ( ( file ) => file . id === id ) ;
props . qualityCutoffNotMet = trackFile . qualityCutoffNotMet ;
if ( quality ) {
props . quality = quality ;
}
@ -67,6 +67,7 @@ function createMapStateToProps() {
return {
path : trackFile . path ,
quality : trackFile . quality ,
qualityCutoffNotMet : trackFile . qualityCutoffNotMet ,
... track
} ;
} ) ;
@ -12,6 +12,7 @@ function TrackFileEditorRow(props) {
trackNumber ,
path ,
quality ,
qualityCutoffNotMet ,
isSelected ,
onSelectedChange
} = props ;
@ -35,6 +36,7 @@ function TrackFileEditorRow(props) {
< TableRowCell >
< TrackQuality
quality = { quality }
isCutoffNotMet = { qualityCutoffNotMet }
/ >
< / T a b l e R o w C e l l >
< / T a b l e R o w >
@ -46,6 +48,7 @@ TrackFileEditorRow.propTypes = {
trackNumber : PropTypes . string . isRequired ,
path : PropTypes . string . isRequired ,
quality : PropTypes . object . isRequired ,
qualityCutoffNotMet : PropTypes . bool . isRequired ,
isSelected : PropTypes . bool ,
onSelectedChange : PropTypes . func . isRequired
} ;