Add a <time-ago> component to abstract out common handling of showing how long ago an event occurred
This commit is contained in:
		
							parent
							
								
									b9768ef6cf
								
							
						
					
					
						commit
						33af54d355
					
				
					 3 changed files with 21 additions and 0 deletions
				
			
		|  | @ -37,6 +37,7 @@ import { ManageTriggerComponent } from './directives/ui/manage-trigger/manage-tr | |||
| import { ClipboardCopyDirective } from './directives/ui/clipboard-copy/clipboard-copy.directive'; | ||||
| import { CorTabsModule } from './directives/ui/cor-tabs/cor-tabs.module'; | ||||
| import { TriggerDescriptionComponent } from './directives/ui/trigger-description/trigger-description.component'; | ||||
| import { TimeAgoComponent } from './directives/ui/time-ago/time-ago.component'; | ||||
| import { MarkdownModule } from './directives/ui/markdown/markdown.module'; | ||||
| import * as Clipboard from 'clipboard'; | ||||
| 
 | ||||
|  | @ -79,6 +80,7 @@ import * as Clipboard from 'clipboard'; | |||
|     ExpirationStatusViewComponent, | ||||
|     ClipboardCopyDirective, | ||||
|     TriggerDescriptionComponent, | ||||
|     TimeAgoComponent, | ||||
|   ], | ||||
|   providers: [ | ||||
|     ViewArrayImpl, | ||||
|  |  | |||
		Reference in a new issue