diff --git a/web/satellite/src/components/browser/FileShareModal.vue b/web/satellite/src/components/browser/FileShareModal.vue index ba86f8a61..73f6dc4c4 100644 --- a/web/satellite/src/components/browser/FileShareModal.vue +++ b/web/satellite/src/components/browser/FileShareModal.vue @@ -1,228 +1,6 @@ - - // Copyright (C) 2021 Storj Labs, Inc. // See LICENSE for copying information. - - - + + diff --git a/web/satellite/src/components/objects/UploadFile.vue b/web/satellite/src/components/objects/UploadFile.vue index 4d675e7fc..6d2dce814 100644 --- a/web/satellite/src/components/objects/UploadFile.vue +++ b/web/satellite/src/components/objects/UploadFile.vue @@ -73,7 +73,7 @@ export default class UploadFile extends Vue { bucket: this.bucket, browserRoot: RouteConfig.Buckets.with(RouteConfig.UploadFile).path, fetchObjectMapUrl: async (path: string) => await this.generateObjectMapUrl(path), - getSharedLink: async (path: string) => await this.generateShareLinkUrl(path), + fetchSharedLink: async (path: string) => await this.generateShareLinkUrl(path), }); } diff --git a/web/satellite/src/store/modules/files.ts b/web/satellite/src/store/modules/files.ts index ebf5a64ca..588d7e8b3 100644 --- a/web/satellite/src/store/modules/files.ts +++ b/web/satellite/src/store/modules/files.ts @@ -30,7 +30,7 @@ export default { selectedFiles: [], shiftSelectedFiles: [], filesToBeDeleted: [], - getSharedLink: null, + fetchSharedLink: null, fetchObjectMapUrl: null, openedDropdown: null, headingSorted: "name", @@ -89,7 +89,7 @@ export default { endpoint = "https://gateway.tardigradeshare.io", browserRoot, openModalOnFirstUpload = true, - getSharedLink = () => "javascript:null", + fetchSharedLink = () => "javascript:null", fetchObjectMapUrl = () => new Promise((resolve) => setTimeout( @@ -117,7 +117,7 @@ export default { state.bucket = bucket; state.browserRoot = browserRoot; state.openModalOnFirstUpload = openModalOnFirstUpload; - state.getSharedLink = getSharedLink; + state.fetchSharedLink = fetchSharedLink; state.fetchObjectMapUrl = fetchObjectMapUrl; state.path = ""; },