Bug fixes

This commit is contained in:
2025-06-19 18:15:15 -05:00
parent 89913155c6
commit d8e6f3da86
4 changed files with 8 additions and 5 deletions

View File

@@ -9,7 +9,10 @@ export function MainLayout() {
<Box
className={boxClasses.layoutContainer}
style={{
'--image-background': `linear-gradient(${theme.backgroundColor}33, ${theme.backgroundColor}33), url(../../api/backgroundImages/${theme.backgroundImage})`,
'--image-background':
theme.backgroundImage === 'none'
? undefined
: `linear-gradient(${theme.backgroundColor}33, ${theme.backgroundColor}33), url(../../api/backgroundImages/${theme.backgroundImage})`,
}}
>
<Outlet />

View File

@@ -77,7 +77,7 @@ function SettingsButton() {
body: selectedClient || wolClientData?.[0],
});
};
console.log(themePlaylistData);
useEffect(() => {
if (appCategoryData) {
const list: [any] = appCategoryData.map((category: AppCategory) => {

View File

@@ -35,7 +35,7 @@ function BackgroundModal({
setErr(false);
setBackground(e);
};
console.log(background);
return (
<Modal.Root
size={'75%'}