mirror of
https://github.com/zadam/trilium.git
synced 2025-11-14 09:15:50 +01:00
can't allow opening externally on attachment list
This commit is contained in:
@@ -67,13 +67,13 @@ const TPL = `
|
||||
</div>`;
|
||||
|
||||
export default class AttachmentDetailWidget extends BasicWidget {
|
||||
constructor(attachment) {
|
||||
constructor(attachment, isFullDetail) {
|
||||
super();
|
||||
|
||||
this.contentSized();
|
||||
this.attachment = attachment;
|
||||
this.attachmentActionsWidget = new AttachmentActionsWidget(attachment);
|
||||
this.isFullDetail = true;
|
||||
this.attachmentActionsWidget = new AttachmentActionsWidget(attachment, isFullDetail);
|
||||
this.isFullDetail = isFullDetail;
|
||||
this.child(this.attachmentActionsWidget);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user