Hide file upload when wallpaper already stored

This commit is contained in:
Roman Cervantes 2019-04-09 13:40:56 -07:00
parent ec97233680
commit f5169b9708

View file

@ -5,12 +5,15 @@
</div>
<div v-else>
Upload wallpaper
<input
type="file"
accept='image/*'
@change="handleUpload"
/>
<div v-show="!wallpaperUrl">
Upload wallpaper
<input
type="file"
accept='image/*'
@change="handleUpload"
/>
</div>
<div v-if="wallpaperUrl">
Current wallpaper