mirror of
https://github.com/mue/mue.git
synced 2026-07-14 20:43:54 +02:00
fix: background credit (again)
This commit is contained in:
@@ -37,7 +37,7 @@ export default function Tab(props) {
|
||||
|
||||
let icon, divider;
|
||||
switch (props.label) {
|
||||
// Navbar
|
||||
// Navbar
|
||||
case 'Settings': icon = <Settings/>; break;
|
||||
case 'My Add-ons': icon = <Addons/>; break;
|
||||
case 'Marketplace': icon = <Marketplace/>; break;
|
||||
|
||||
@@ -181,7 +181,8 @@ export default class Background extends React.PureComponent {
|
||||
return document.querySelector('.photoInformation').style.display = 'none';
|
||||
}
|
||||
|
||||
if (localStorage.getItem('customBackgroundColour') !== 'Disabled') {
|
||||
const backgroundColour = localStorage.getItem('customBackgroundColour');
|
||||
if (backgroundColour !== 'Disabled' && backgroundColour !== '') {
|
||||
document.querySelector('.photoInformation').style.display = 'none';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user