aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dashboard/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dashboard/src/components')
-rw-r--r--apps/dashboard/src/components/BackgroundSettings.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/dashboard/src/components/BackgroundSettings.vue b/apps/dashboard/src/components/BackgroundSettings.vue
index 4fc23363ec3..984bb438911 100644
--- a/apps/dashboard/src/components/BackgroundSettings.vue
+++ b/apps/dashboard/src/components/BackgroundSettings.vue
@@ -52,7 +52,7 @@
:class="{ 'icon-loading': loading === shippedBackground.name, active: background === shippedBackground.name }"
tabindex="0"
class="background"
- :style="{ 'background-image': 'url(' + shippedBackground.url + ')' }"
+ :style="{ 'background-image': 'url(' + shippedBackground.preview + ')' }"
@click="setShipped(shippedBackground.name)"
@keyup.enter="setShipped(shippedBackground.name)"
@keyup.space="setShipped(shippedBackground.name)" />
@@ -87,6 +87,7 @@ export default {
return {
name: item,
url: prefixWithBaseUrl(item),
+ preview: prefixWithBaseUrl('previews/' + item),
details: shippedBackgroundList[item],
}
})