mirror of
https://github.com/romancm/gamebrary
synced 2024-11-28 14:10:26 +00:00
Fix wallpaper download url being stored instead of reference
This commit is contained in:
parent
a1bf5f09d7
commit
9562b0a1b5
1 changed files with 3 additions and 3 deletions
|
@ -72,7 +72,7 @@
|
|||
<b-dropdown-item
|
||||
v-for="file in wallpapers"
|
||||
:key="file.name"
|
||||
@click="setWallpaper(file.url)"
|
||||
@click="setWallpaper(file.fullPath)"
|
||||
>
|
||||
<b-img
|
||||
thumbnail
|
||||
|
@ -166,8 +166,8 @@ export default {
|
|||
this.wallpaper = null;
|
||||
},
|
||||
|
||||
async setWallpaper(url) {
|
||||
this.wallpaper = url;
|
||||
async setWallpaper(wallpaper) {
|
||||
this.wallpaper = await this.$store.dispatch('LOAD_WALLPAPER', wallpaper);
|
||||
},
|
||||
|
||||
submit(e) {
|
||||
|
|
Loading…
Reference in a new issue