summaryrefslogtreecommitdiffstats
path: root/apps/theming/src
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-10-14 12:54:51 +0200
committerVincent Petry <vincent@nextcloud.com>2022-10-14 16:18:41 +0200
commit19f35f42bcd527a08952681b07d84d008e583437 (patch)
tree036366319296ae16690e6c5b632373358fea5419 /apps/theming/src
parentd77e8322239754ef68f9dfe8c3687a39f94cc881 (diff)
downloadnextcloud-server-19f35f42bcd527a08952681b07d84d008e583437.tar.gz
nextcloud-server-19f35f42bcd527a08952681b07d84d008e583437.zip
Improve cache buster for user backgrounds
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'apps/theming/src')
-rw-r--r--apps/theming/src/UserThemes.vue3
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/theming/src/UserThemes.vue b/apps/theming/src/UserThemes.vue
index 1f14d3bb8f4..f9e729afecb 100644
--- a/apps/theming/src/UserThemes.vue
+++ b/apps/theming/src/UserThemes.vue
@@ -88,7 +88,6 @@ const enforceTheme = loadState('theming', 'enforceTheme', '')
const shortcutsDisabled = loadState('theming', 'shortcutsDisabled', false)
const background = loadState('theming', 'background')
-const backgroundVersion = loadState('theming', 'backgroundVersion')
const themingDefaultBackground = loadState('theming', 'themingDefaultBackground')
const shippedBackgroundList = loadState('theming', 'shippedBackgrounds')
@@ -109,7 +108,6 @@ export default {
enforceTheme,
shortcutsDisabled,
background,
- backgroundVersion,
themingDefaultBackground,
}
},
@@ -169,7 +167,6 @@ export default {
methods: {
updateBackground(data) {
this.background = (data.type === 'custom' || data.type === 'default') ? data.type : data.value
- this.backgroundVersion = data.version
this.updateGlobalStyles()
this.$emit('update:background')
},