Added website image to the creator page and use type of file when uploading pictures. Restriction for .png, .jpeg, .jpg for now
This commit is contained in:
@@ -36,7 +36,9 @@
|
||||
<div class="px-3 py-3">
|
||||
<v-file-input
|
||||
ref="bannerImageInput"
|
||||
v-model="bannerImage"
|
||||
accept=".png, .jpeg, .jpg"
|
||||
v-model="bannerImage"
|
||||
hint="png, jpeg or jpg"
|
||||
label="Téléverser une nouvelle bannière"
|
||||
@change="onBannerFileChange">
|
||||
</v-file-input>
|
||||
@@ -57,6 +59,8 @@
|
||||
<div class="px-3">
|
||||
<v-file-input
|
||||
ref="profileImageInput"
|
||||
accept=".png, .jpeg, .jpg"
|
||||
hint="png, jpeg or jpg"
|
||||
v-model="profilePicture"
|
||||
label="Téléverser une nouvelle photo de profil"
|
||||
@change="onProfileFileChange">
|
||||
|
||||
Reference in New Issue
Block a user