diff --git a/package-lock.json b/package-lock.json index fa0046b8..036cfc1d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17571,7 +17571,8 @@ }, "minimist": { "version": "1.2.0", - "resolved": "", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", "dev": true }, "schema-utils": { diff --git a/src/renderer/components/ft-share-button/ft-share-button.js b/src/renderer/components/ft-share-button/ft-share-button.js index ac9799c0..5d86f872 100644 --- a/src/renderer/components/ft-share-button/ft-share-button.js +++ b/src/renderer/components/ft-share-button/ft-share-button.js @@ -2,6 +2,7 @@ import Vue from 'vue' import FtIconButton from '../ft-icon-button/ft-icon-button.vue' import FtButton from '../ft-button/ft-button.vue' +import FtToastEvents from '../ft-toast/ft-toast-events' export default Vue.extend({ name: 'FtShareButton', @@ -59,6 +60,7 @@ export default Vue.extend({ }, copyInvidious() { + FtToastEvents.$emit('toast.open', "Invidious URL copied to clipboard") this.copy(this.invidiousURL) this.$refs.iconButton.toggleDropdown() }, @@ -69,6 +71,7 @@ export default Vue.extend({ }, copyYoutube() { + FtToastEvents.$emit('toast.open', "YouTube URL copied to clipboard") this.copy(this.youtubeURL) this.$refs.iconButton.toggleDropdown() }, @@ -79,6 +82,7 @@ export default Vue.extend({ }, copyYoutubeEmbed() { + FtToastEvents.$emit('toast.open', "YouTube Embed URL copied to clipboard") this.copy(this.youtubeEmbedURL) this.$refs.iconButton.toggleDropdown() }, @@ -89,6 +93,7 @@ export default Vue.extend({ }, copyInvidiousEmbed() { + FtToastEvents.$emit('toast.open', "Invidious Embed URL copied to clipboard") this.copy(this.invidiousEmbedURL) this.$refs.iconButton.toggleDropdown() },