Split AttachmentStoreStrategy classes to new FileStoreStrategy classes

This commit is contained in:
Martin Filser 2022-04-07 22:49:13 +02:00
parent dd0d5dbe9f
commit 883beba9ed
4 changed files with 310 additions and 225 deletions

View file

@ -147,11 +147,11 @@ BlazeComponent.extendComponent({
Popup.back();
},
'click .js-move-storage-fs'() {
Meteor.call('moveToStorage', this.data()._id, "fs");
Meteor.call('moveAttachmentToStorage', this.data()._id, "fs");
Popup.back();
},
'click .js-move-storage-gridfs'() {
Meteor.call('moveToStorage', this.data()._id, "gridfs");
Meteor.call('moveAttachmentToStorage', this.data()._id, "gridfs");
Popup.back();
},
}