fix: enable attachment upload in shared view

re #687

Signed-off-by: Pranav C <pranavxc@gmail.com>
This commit is contained in:
Pranav C
2021-10-31 17:47:58 +05:30
parent 1e1d21a03c
commit afcb955071
11 changed files with 262 additions and 87 deletions

View File

@@ -246,7 +246,7 @@ export default {
}
this.uploading = true
for (const file of this.$refs.file.files) {
const item = await this.$store.dispatch('sqlMgr/ActUpload', [{
const item = await this.$store.dispatch('sqlMgr/ActUploadOld', [{
dbAlias: this.dbAlias
}, 'xcAttachmentUpload', { public: true }, file])
this.localState.push(item)