From c5a00d49cf983ff551a8d31ff746ac9ee5c7f7a8 Mon Sep 17 00:00:00 2001 From: Violet Rose Date: Sat, 12 Sep 2020 08:20:12 -0700 Subject: [PATCH] Replaced "include time" with "include timestamp". --- .../components/ft-share-button/ft-share-button.js | 8 ++++---- .../components/ft-share-button/ft-share-button.vue | 6 +++--- static/locales/en-US.yaml | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) 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 @@ >