diff options
| author | dave <starpumadev@gmail.com> | 2019-03-14 11:57:24 -0400 |
|---|---|---|
| committer | dave <starpumadev@gmail.com> | 2019-03-14 11:57:24 -0400 |
| commit | 52326e65515317be4815aaef320965313f84d64b (patch) | |
| tree | a0fee6963ba8f63dc20d58d3730c2627dafc2996 /src/components/status | |
| parent | 06fda2751187233f338a42ec0a3501b2cac2cb62 (diff) | |
#436: remove clear & dismiss UI updates
Diffstat (limited to 'src/components/status')
| -rw-r--r-- | src/components/status/status.js | 6 | ||||
| -rw-r--r-- | src/components/status/status.vue | 3 |
2 files changed, 1 insertions, 8 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js index 4cd26be3..9e18fe15 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -25,8 +25,7 @@ const Status = { 'replies', 'isPreview', 'noHeading', - 'inlineExpanded', - 'isNotification' + 'inlineExpanded' ], data () { return { @@ -366,9 +365,6 @@ const Status = { setMedia () { const attachments = this.attachmentSize === 'hide' ? this.status.attachments : this.galleryAttachments return () => this.$store.dispatch('setMedia', attachments) - }, - dismissNotification () { - this.$emit('dismissNotification') } }, watch: { diff --git a/src/components/status/status.vue b/src/components/status/status.vue index 28a44346..1f6d0325 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -52,9 +52,6 @@ <a :href="status.external_url" target="_blank" v-if="!status.is_local && !isPreview" class="source_url" title="Source"> <i class="button-icon icon-link-ext-alt"></i> </a> - <span class="button-icon" v-if="isNotification" @click.prevent="dismissNotification"> - <i class="button-icon icon-cancel delete-status"></i> - </span> <template v-if="expandable && !isPreview"> <a href="#" @click.prevent="toggleExpanded" title="Expand"> <i class="button-icon icon-plus-squared"></i> |
