zoom for the attachment images

This commit is contained in:
zadam 2023-07-14 21:08:00 +02:00
parent 5f6fded833
commit ff6f2a4d44

View File

@ -168,7 +168,7 @@ export default class AttachmentDetailWidget extends BasicWidget {
.text(`Role: ${this.attachment.role}, Size: ${utils.formatSize(this.attachment.contentLength)}`);
this.$wrapper.find('.attachment-actions-container').append(this.attachmentActionsWidget.render());
const {$renderedContent} = await contentRenderer.getRenderedContent(this.attachment, { imageHasZoom: true });
const {$renderedContent} = await contentRenderer.getRenderedContent(this.attachment, { imageHasZoom: this.isFullDetail });
this.$wrapper.find('.attachment-content-wrapper').append($renderedContent);
}