fixup StatusHeader for notifications

This commit is contained in:
Nolan Lawson 2018-02-12 22:34:03 -08:00
parent c8cef10031
commit 24e8bdbd86

View file

@ -68,8 +68,9 @@
<script>
export default {
computed: {
statusId: (status) => status.id,
focusKey: (statusId) => `status-header-${statusId}`,
statusId: (status) => status && status.id,
notificationId: (notification) => notification && notification.id,
focusKey: (statusId, notificationId) => `status-header-${statusId}-${notificationId}`,
icon: (notification, status, timelineType) => {
if (timelineType === 'pinned') {
return '#fa-thumb-tack'