mirror of
https://github.com/mue/mue.git
synced 2026-07-18 22:44:08 +02:00
fix: slider, add about page loading text, background bug fix etc
This commit is contained in:
@@ -132,7 +132,6 @@ export default class Background extends React.PureComponent {
|
||||
case 'colour':
|
||||
// background colour
|
||||
const customBackgroundColour = localStorage.getItem('customBackgroundColour');
|
||||
if (customBackgroundColour !== 'Disabled' && customBackgroundColour !== '') {
|
||||
let gradientSettings = '';
|
||||
try {
|
||||
gradientSettings = JSON.parse(customBackgroundColour);
|
||||
@@ -148,7 +147,6 @@ export default class Background extends React.PureComponent {
|
||||
if (typeof gradientSettings === 'object' && gradientSettings !== null) {
|
||||
return this.gradientStyleBuilder(gradientSettings);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case 'custom':
|
||||
@@ -188,7 +186,10 @@ export default class Background extends React.PureComponent {
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
|
||||
Reference in New Issue
Block a user