File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ SpicetifyHomeConfig = {};
2121 const stickSections = [ ] ;
2222 const lowSections = [ ] ;
2323 for ( const uri of stickList ) {
24- const index = sections . findIndex ( ( a ) => a ?. uri === uri || a ?. item . uri === uri ) ;
24+ const index = sections . findIndex ( ( a ) => a ?. uri === uri || a ?. item ? .uri === uri ) ;
2525 if ( index !== - 1 ) {
2626 const item = sections [ index ] ;
2727 const uri = item . item . uri || item . uri ;
@@ -31,7 +31,7 @@ SpicetifyHomeConfig = {};
3131 }
3232 }
3333 for ( const uri of lowList ) {
34- const index = sections . findIndex ( ( a ) => a ?. uri === uri || a ?. item . uri === uri ) ;
34+ const index = sections . findIndex ( ( a ) => a ?. uri === uri || a ?. item ? .uri === uri ) ;
3535 if ( index !== - 1 ) {
3636 const item = sections [ index ] ;
3737 const uri = item . item . uri || item . uri ;
You can’t perform that action at this time.
0 commit comments