PublicDashboards: Add last seen to email sharing users list (#77660)

pull/77873/head
Ezequiel Victorero 2 years ago committed by GitHub
parent 3cb92e3460
commit 5fc3ab801b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      public/app/features/admin/UserListPublicDashboardPage/UserListPublicDashboardPage.tsx
  2. 1
      public/app/features/dashboard/components/ShareModal/SharePublicDashboard/SharePublicDashboardUtils.ts

@ -26,6 +26,7 @@ export const UserListPublicDashboardPage = () => {
<Icon name="question-circle" />
</Tooltip>
</th>
<th>Last active</th>
<th>Origin</th>
<th>Role</th>
<th></th>
@ -40,6 +41,7 @@ export const UserListPublicDashboardPage = () => {
</span>
</td>
<td className="max-width-10">{user.firstSeenAtAge}</td>
<td className="max-width-10">{user.lastSeenAtAge}</td>
<td className="max-width-10">
<HorizontalGroup spacing="sm">
<span>{user.totalDashboards} dashboard(s)</span>

@ -37,6 +37,7 @@ export interface SessionDashboard {
export interface SessionUser {
email: string;
firstSeenAtAge: string;
lastSeenAtAge: string;
totalDashboards: number;
}

Loading…
Cancel
Save