mirror of
https://github.com/mue/mue.git
synced 2026-07-22 16:27:32 +02:00
fix: various modal fixes
This commit is contained in:
@@ -78,7 +78,9 @@ export default class BackgroundSettings extends React.PureComponent {
|
||||
|
||||
componentDidMount() {
|
||||
if (navigator.onLine === false || localStorage.getItem('offlineMode') === 'true') {
|
||||
return;
|
||||
return this.setState({
|
||||
backgroundCategories: [window.language.modals.update.offline.title]
|
||||
});
|
||||
}
|
||||
|
||||
this.getBackgroundCategories();
|
||||
|
||||
Reference in New Issue
Block a user