diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/components/EditorWrapper.vue | 2 | ||||
-rw-r--r-- | src/components/MenuBar.vue | 8 |
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, }, |