aboutsummaryrefslogtreecommitdiff
path: root/src/components/notifications
diff options
context:
space:
mode:
authorHJ <spam@hjkos.com>2018-12-12 18:47:56 +0000
committerHJ <spam@hjkos.com>2018-12-12 18:47:56 +0000
commitf0fb6e6015f1cf472433f641a76a428f5a48a20f (patch)
treea6ed3f4f62a4121b93519fa92e907aac2561c149 /src/components/notifications
parent13ef05d5e6be5b02a825748e1cf9c690ef3783d2 (diff)
parent7556efa04ffccaa9bbd40a2f52a43b98c7e9371d (diff)
Merge branch 'dev_vald_fe/timeago_panel' into 'develop'
added activatePanel onclick for timeago button See merge request pleroma/pleroma-fe!407
Diffstat (limited to 'src/components/notifications')
-rw-r--r--src/components/notifications/notifications.js1
-rw-r--r--src/components/notifications/notifications.vue2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/components/notifications/notifications.js b/src/components/notifications/notifications.js
index 945ffd1f..4b7a591d 100644
--- a/src/components/notifications/notifications.js
+++ b/src/components/notifications/notifications.js
@@ -4,6 +4,7 @@ import notificationsFetcher from '../../services/notifications_fetcher/notificat
import { sortBy, filter } from 'lodash'
const Notifications = {
+ props: [ 'activatePanel' ],
created () {
const store = this.$store
const credentials = store.state.users.currentUser.credentials
diff --git a/src/components/notifications/notifications.vue b/src/components/notifications/notifications.vue
index 64f18720..bef48567 100644
--- a/src/components/notifications/notifications.vue
+++ b/src/components/notifications/notifications.vue
@@ -14,7 +14,7 @@
<div class="panel-body">
<div v-for="notification in visibleNotifications" :key="notification.action.id" class="notification" :class='{"unseen": !notification.seen}'>
<div class="notification-overlay"></div>
- <notification :notification="notification"></notification>
+ <notification :activatePanel="activatePanel" :notification="notification"></notification>
</div>
</div>
<div class="panel-footer">