Skip to content

Commit

Permalink
harmonize prop/data names
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Veyssier <[email protected]>
  • Loading branch information
Julien Veyssier committed Mar 31, 2022
1 parent 6c444cd commit c38fb17
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion lib/Service/ImageService.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
use OCP\Files\IRootFolder;
use Psr\Log\LoggerInterface;
use OCP\Share\IManager as ShareManager;
use function preg_replace;

class ImageService {

Expand Down
2 changes: 1 addition & 1 deletion src/components/EditorWrapper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
8 changes: 4 additions & 4 deletions src/components/MenuBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -176,7 +176,7 @@ export default {
required: false,
default: 0,
},
uploadingImage: {
uploadingImages: {
type: Boolean,
default: false,
},
Expand Down

0 comments on commit c38fb17

Please sign in to comment.