fixup StatusHeader for notifications
This commit is contained in:
		
							parent
							
								
									c8cef10031
								
							
						
					
					
						commit
						24e8bdbd86
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		|  | @ -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' | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue