aboutsummaryrefslogtreecommitdiff
path: root/src/components/media_upload/media_upload.vue
diff options
context:
space:
mode:
authorShpuld Shpuldson <shp@cock.li>2020-07-14 11:44:06 +0300
committerShpuld Shpuldson <shp@cock.li>2020-07-14 11:44:06 +0300
commitcac1418affbc0ae91bce2a4d4c14046e73484116 (patch)
treeb8a9ef91853d7f4d3f35e632e0b3e71b5dd79c7d /src/components/media_upload/media_upload.vue
parent78ec84477e978a654ecfd482157dbf04a69f32e2 (diff)
parent3e09a708f600b47dde831eeddb412828b38a0cf4 (diff)
fix merge conflicts
Diffstat (limited to 'src/components/media_upload/media_upload.vue')
-rw-r--r--src/components/media_upload/media_upload.vue8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/components/media_upload/media_upload.vue b/src/components/media_upload/media_upload.vue
index 5e31730b..c8865d77 100644
--- a/src/components/media_upload/media_upload.vue
+++ b/src/components/media_upload/media_upload.vue
@@ -1,5 +1,8 @@
<template>
- <div class="media-upload">
+ <div
+ class="media-upload"
+ :class="{ disabled: disabled }"
+ >
<label
class="label"
:title="$t('tool_tip.media_upload')"
@@ -14,6 +17,7 @@
/>
<input
v-if="uploadReady"
+ :disabled="disabled"
type="file"
style="position: fixed; top: -100em"
multiple="true"
@@ -26,6 +30,8 @@
<script src="./media_upload.js" ></script>
<style lang="scss">
+@import '../../_variables.scss';
+
.media-upload {
.label {
display: inline-block;