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

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "triggerfrontend",
"version": "0.1.0",
"version": "1.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "triggerfrontend",
"version": "0.1.0",
"version": "1.0.0",
"dependencies": {
"@hello-pangea/dnd": "^18.0.1",
"@mantine/core": "^8.1.1",

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%'}