From ee20731a4e352718a6752ab07e3bbb5bb3247889 Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Wed, 1 Apr 2020 16:28:42 +0300 Subject: [PATCH] Fix link to remote emoji that was copied to local instance --- src/views/emojiPacks/components/SingleEmojiEditor.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/emojiPacks/components/SingleEmojiEditor.vue b/src/views/emojiPacks/components/SingleEmojiEditor.vue index a1d2383a..bb82a298 100644 --- a/src/views/emojiPacks/components/SingleEmojiEditor.vue +++ b/src/views/emojiPacks/components/SingleEmojiEditor.vue @@ -145,7 +145,7 @@ export default { try { this.$store.dispatch('AddNewEmojiFile', { packName: this.copyToLocalPackName, - file: this.addressOfEmojiInPack(this.host, this.packName, this.file), + file: this.addressOfEmojiInPack(this.remoteInstance, this.packName, this.file), shortcode: this.copyToShortcode.trim() !== '' ? this.copyToShortcode.trim() : this.shortcode, filename: this.copyToFilename.trim() !== '' ? this.copyToFilename.trim() : this.file })