summaryrefslogtreecommitdiffstats
path: root/apps/theming/src/components/BackgroundSettings.vue
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2022-11-29 09:51:34 +0100
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-11-29 11:26:27 +0100
commita869259e411486486fb1206dfa74f5363834d92f (patch)
tree7ea353549158dc5898d917452f8b9c6970438c87 /apps/theming/src/components/BackgroundSettings.vue
parent064fa10ecfe4725398895a21ab8bafd171e2eadd (diff)
downloadnextcloud-server-a869259e411486486fb1206dfa74f5363834d92f.tar.gz
nextcloud-server-a869259e411486486fb1206dfa74f5363834d92f.zip
More theming cypress tests and some fixes
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/theming/src/components/BackgroundSettings.vue')
-rw-r--r--apps/theming/src/components/BackgroundSettings.vue3
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/theming/src/components/BackgroundSettings.vue b/apps/theming/src/components/BackgroundSettings.vue
index e1d8b731bc4..97912ae3c9c 100644
--- a/apps/theming/src/components/BackgroundSettings.vue
+++ b/apps/theming/src/components/BackgroundSettings.vue
@@ -99,7 +99,6 @@ import { Palette } from 'node-vibrant/lib/color'
import { getFilePickerBuilder } from '@nextcloud/dialogs'
import { getCurrentUser } from '@nextcloud/auth'
-const backgroundColor = loadState('theming', 'backgroundColor')
const backgroundImage = loadState('theming', 'backgroundImage')
const shippedBackgroundList = loadState('theming', 'shippedBackgrounds')
const themingDefaultBackground = loadState('theming', 'themingDefaultBackground')
@@ -132,7 +131,6 @@ export default {
// User background image and color settings
backgroundImage,
- backgroundColor,
}
},
@@ -210,7 +208,6 @@ export default {
async update(data) {
// Update state
this.backgroundImage = data.backgroundImage
- this.backgroundColor = data.backgroundColor
this.Theming.color = data.backgroundColor
// Notify parent and reload style