Use html attr style in components

This commit is contained in:
rijkvanzanten
2020-09-24 16:45:47 -04:00
parent db71434afa
commit 272653d5dd
4 changed files with 4 additions and 4 deletions

View File

@@ -71,7 +71,7 @@
<v-card>
<v-card-title>{{ $t('upload_from_device') }}</v-card-title>
<v-card-text>
<v-upload @upload="onUpload" fromUrl />
<v-upload @upload="onUpload" from-url />
</v-card-text>
<v-card-actions>
<v-button @click="activeDialog = null" secondary>{{ $t('cancel') }}</v-button>

View File

@@ -59,7 +59,7 @@
<v-dialog v-model="showUpload">
<v-card>
<v-card-title>{{ $t('upload_file') }}</v-card-title>
<v-card-text><v-upload @upload="onUpload" multiple fromUrl /></v-card-text>
<v-card-text><v-upload @upload="onUpload" multiple from-url /></v-card-text>
<v-card-actions>
<v-button @click="showUpload = false">{{ $t('done') }}</v-button>
</v-card-actions>

View File

@@ -45,7 +45,7 @@
/>
<file-lightbox v-model="lightboxActive" :id="image.id" />
</div>
<v-upload v-else @upload="setImage" fromLibrary fromUrl />
<v-upload v-else @upload="setImage" from-library from-url />
</div>
</template>

View File

@@ -3,7 +3,7 @@
<v-card>
<v-card-title>{{ $t('add_file') }}</v-card-title>
<v-card-text>
<v-upload :preset="preset" multiple @upload="close" fromUrl />
<v-upload :preset="preset" multiple @upload="close" from-url />
</v-card-text>
<v-card-actions>
<v-button secondary @click="close">{{ $t('done') }}</v-button>