fix for malformed notiications (#238)

fixes #217
This commit is contained in:
Nolan Lawson 2018-04-29 18:41:47 -07:00 committed by GitHub
parent 9629a55a9f
commit a368294b43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 5 deletions

View File

@ -1,13 +1,12 @@
{{#if notification.type === 'mention' || notification.type === 'reblog' || notification.type === 'favourite'}} {{#if status}}
<Status :index :length :timelineType :timelineValue :focusSelector <Status :index :length :timelineType :timelineValue :focusSelector
status={{notification.status}} :status :notification on:recalculateHeight
:notification
on:recalculateHeight
/> />
{{else}} {{else}}
<article class="notification-article" <article class="notification-article"
tabindex="0" tabindex="0"
aria-posinset={{index}} aria-setsize={{length}} > aria-posinset={{index}}
aria-setsize={{length}} >
<StatusHeader :notification :notificationId :status :statusId :timelineType <StatusHeader :notification :notificationId :status :statusId :timelineType
:account :accountId :uuid isStatusInNotification="true" /> :account :accountId :uuid isStatusInNotification="true" />
</article> </article>