Change dasbhoard links for “new users” and “active users” (#17570)
Make them filter for local accounts by default
This commit is contained in:
		
							parent
							
								
									52130064e1
								
							
						
					
					
						commit
						488c4e1712
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -19,10 +19,10 @@
 | 
			
		|||
 | 
			
		||||
.dashboard
 | 
			
		||||
  .dashboard__item
 | 
			
		||||
    = react_admin_component :counter, measure: 'new_users', start_at: @time_period.first, end_at: @time_period.last, label: t('admin.dashboard.new_users'), href: admin_accounts_path
 | 
			
		||||
    = react_admin_component :counter, measure: 'new_users', start_at: @time_period.first, end_at: @time_period.last, label: t('admin.dashboard.new_users'), href: admin_accounts_path(origin: 'local')
 | 
			
		||||
 | 
			
		||||
  .dashboard__item
 | 
			
		||||
    = react_admin_component :counter, measure: 'active_users', start_at: @time_period.first, end_at: @time_period.last, label: t('admin.dashboard.active_users'), href: admin_accounts_path
 | 
			
		||||
    = react_admin_component :counter, measure: 'active_users', start_at: @time_period.first, end_at: @time_period.last, label: t('admin.dashboard.active_users'), href: admin_accounts_path(origin: 'local')
 | 
			
		||||
 | 
			
		||||
  .dashboard__item
 | 
			
		||||
    = react_admin_component :counter, measure: 'interactions', start_at: @time_period.first, end_at: @time_period.last, label: t('admin.dashboard.interactions')
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue