aboutsummaryrefslogtreecommitdiff
path: root/src/components/notification
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/notification')
-rw-r--r--src/components/notification/notification.js3
-rw-r--r--src/components/notification/notification.vue5
2 files changed, 0 insertions, 8 deletions
diff --git a/src/components/notification/notification.js b/src/components/notification/notification.js
index c86f22bb..fe5b7018 100644
--- a/src/components/notification/notification.js
+++ b/src/components/notification/notification.js
@@ -21,9 +21,6 @@ const Notification = {
},
userProfileLink (user) {
return generateProfileLink(user.id, user.screen_name, this.$store.state.instance.restrictedNicknames)
- },
- dismiss () {
- this.$store.dispatch('dismissNotifications', { id: this.notification.id })
}
},
computed: {
diff --git a/src/components/notification/notification.vue b/src/components/notification/notification.vue
index 6e8e9844..fa931fb6 100644
--- a/src/components/notification/notification.vue
+++ b/src/components/notification/notification.vue
@@ -3,8 +3,6 @@
v-if="notification.type === 'mention'"
:compact="true"
:statusoid="notification.status"
- isNotification="true"
- @dismissNotification="dismiss"
>
</status>
<div class="non-mention" :class="[userClass, { highlighted: userStyle }]" :style="[ userStyle ]"v-else>
@@ -40,9 +38,6 @@
<timeago :since="notification.action.created_at" :auto-update="240"></timeago>
</router-link>
</div>
- <span class="button-icon" @click.prevent="dismiss">
- <i class="button-icon icon-cancel delete-status"></i>
- </span>
</span>
<div class="follow-text" v-if="notification.type === 'follow'">
<router-link :to="userProfileLink(notification.action.user)">