Switched link column config order
This commit is contained in:
		
							parent
							
								
									5aacd04e15
								
							
						
					
					
						commit
						734064d8b1
					
				@ -363,9 +363,9 @@ export class EventTableConfig extends EntityTableConfig<Event, TimePageLink> {
 | 
			
		||||
          new EntityLinkTableColumn<Event>('entityId', 'event.entity-id', '100px',
 | 
			
		||||
            (entity) => `<span style="display: inline-block; width: 9ch">${entity.body.entityId.substring(0, 8)}…</span>`,
 | 
			
		||||
            (entity) => getEntityDetailsPageURL(entity.body.entityId, entity.body.entityType as EntityType),
 | 
			
		||||
            () => ({padding: '0 12px 0 0'}),
 | 
			
		||||
            false,
 | 
			
		||||
            () => ({padding: '0 12px 0 0'}),
 | 
			
		||||
            () => ({padding: '0 12px 0 0'}),
 | 
			
		||||
            (entity) => entity.body.entityId,
 | 
			
		||||
            {
 | 
			
		||||
              name: this.translate.instant('event.copy-entity-id'),
 | 
			
		||||
 | 
			
		||||
@ -121,8 +121,8 @@ export class EntityLinkTableColumn<T extends BaseData<HasId>> extends BaseEntity
 | 
			
		||||
              public width: string = '0px',
 | 
			
		||||
              public cellContentFunction: CellContentFunction<T> = (entity, property) => entity[property] ? entity[property] : '',
 | 
			
		||||
              public entityURL: (entity) => string,
 | 
			
		||||
              public cellStyleFunction: CellStyleFunction<T> = () => ({}),
 | 
			
		||||
              public sortable: boolean = true,
 | 
			
		||||
              public cellStyleFunction: CellStyleFunction<T> = () => ({}),
 | 
			
		||||
              public headerCellStyleFunction: HeaderCellStyleFunction<T> = () => ({}),
 | 
			
		||||
              public cellTooltipFunction: CellTooltipFunction<T> = () => undefined,
 | 
			
		||||
              public actionCell: CellActionDescriptor<T> = null) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user