From 6a00c31c3dd611616388dec134e0949768a6d9e7 Mon Sep 17 00:00:00 2001 From: konrad Date: Thu, 11 Jun 2020 17:27:21 +0000 Subject: [PATCH] List Background upload (#151) Formatting Show loading if a file is uploading Only show image files in upload Hide background settings if none are available Fix showing uploaded background after uploading a new one Add background upload Co-authored-by: kolaente Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/151 --- src/components/lists/settings/background.vue | 43 +++++++++++++-- src/services/backgroundUpload.js | 57 ++++++++++++++++++++ src/store/index.js | 8 +++ 3 files changed, 105 insertions(+), 3 deletions(-) create mode 100644 src/services/backgroundUpload.js diff --git a/src/components/lists/settings/background.vue b/src/components/lists/settings/background.vue index f0f13412..acbb64bf 100644 --- a/src/components/lists/settings/background.vue +++ b/src/components/lists/settings/background.vue @@ -1,7 +1,7 @@