Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJulien Veyssier <eneiluj@posteo.net>2022-03-31 13:10:17 +0300
committernextcloud-command <nextcloud-command@users.noreply.github.com>2022-03-31 13:36:17 +0300
commit5bdc049b62dbb87ff242683223ada6b9900f6ae2 (patch)
tree40e32092a31eb9d54d626a659996a971f9f1f356 /src
parent6c444cdaca0e8addc5957dddf4ab8c69b391ca41 (diff)
harmonize prop/data namesenh/image-drag-n-drop
Signed-off-by: Julien Veyssier <eneiluj@posteo.net> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'src')
-rw-r--r--src/components/EditorWrapper.vue2
-rw-r--r--src/components/MenuBar.vue8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/components/EditorWrapper.vue b/src/components/EditorWrapper.vue
index 58dfb3aef..069646f37 100644
--- a/src/components/EditorWrapper.vue
+++ b/src/components/EditorWrapper.vue
@@ -51,7 +51,7 @@
:is-public="isPublic"
:autohide="autohide"
:loaded.sync="menubarLoaded"
- :uploading-image="uploadingImages"
+ :uploading-images="uploadingImages"
@show-help="showHelp"
@image-insert="insertImagePath"
@image-upload="uploadImageFiles">
diff --git a/src/components/MenuBar.vue b/src/components/MenuBar.vue
index 60af3cc97..8879b8eea 100644
--- a/src/components/MenuBar.vue
+++ b/src/components/MenuBar.vue
@@ -49,20 +49,20 @@
@open="toggleChildMenu(icon)"
@close="toggleChildMenu(icon)">
<button slot="icon"
- :class="{ 'icon-image': true, 'loading-small': uploadingImage }"
+ :class="{ 'icon-image': true, 'loading-small': uploadingImages }"
:title="icon.label"
:aria-label="icon.label"
:aria-haspopup="true" />
<ActionButton icon="icon-upload"
:close-after-click="true"
- :disabled="uploadingImage"
+ :disabled="uploadingImages"
@click="onUploadImage()">
{{ t('text', 'Upload from computer') }}
</ActionButton>
<ActionButton v-if="!isPublic"
icon="icon-folder"
:close-after-click="true"
- :disabled="uploadingImage"
+ :disabled="uploadingImages"
@click="showImagePrompt()">
{{ t('text', 'Insert from Files') }}
</ActionButton>
@@ -176,7 +176,7 @@ export default {
required: false,
default: 0,
},
- uploadingImage: {
+ uploadingImages: {
type: Boolean,
default: false,
},