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 e8d1e36b..bc757c83 100644 --- a/src/renderer/components/ft-share-button/ft-share-button.js +++ b/src/renderer/components/ft-share-button/ft-share-button.js @@ -26,7 +26,7 @@ export default Vue.extend({ }, data: function () { return { - includeTime: false + includeTimestamp: false } }, computed: { @@ -118,12 +118,12 @@ export default Vue.extend({ this.$refs.iconButton.toggleDropdown() }, - updateIncludeTime() { - this.includeTime = !this.includeTime + updateincludeTimestamp() { + this.includeTimestamp = !this.includeTimestamp }, getFinalUrl(url) { - return this.includeTime ? `${url}&t=${this.getTimestamp()}` : url + return this.includeTimestamp ? `${url}&t=${this.getTimestamp()}` : url }, ...mapActions([ diff --git a/src/renderer/components/ft-share-button/ft-share-button.vue b/src/renderer/components/ft-share-button/ft-share-button.vue index 6e264fcb..c87e5ed2 100644 --- a/src/renderer/components/ft-share-button/ft-share-button.vue +++ b/src/renderer/components/ft-share-button/ft-share-button.vue @@ -9,10 +9,10 @@ >