web/satellite: fix FileModal Share Link (#4341)

Co-authored-by: littleskunk <jens.heimbuerge@googlemail.com>
This commit is contained in:
Stefan Benten 2022-01-07 22:21:05 +01:00 committed by GitHub
parent 35113634f6
commit f0ada87a9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -545,7 +545,7 @@ export default class FileModal extends Vue {
* Get the share link of the current opened file.
*/
public async getSharedLink(): Promise<void> {
this.objectLink = await this.$store.state.files.getSharedLink(
this.objectLink = await this.$store.state.files.fetchSharedLink(
this.filePath
);
}