diff --git a/public/app/features/manage-dashboards/components/PublicDashboardListTable/PublicDashboardListTable.tsx b/public/app/features/manage-dashboards/components/PublicDashboardListTable/PublicDashboardListTable.tsx index bd5416f730a..1ae281ecc5a 100644 --- a/public/app/features/manage-dashboards/components/PublicDashboardListTable/PublicDashboardListTable.tsx +++ b/public/app/features/manage-dashboards/components/PublicDashboardListTable/PublicDashboardListTable.tsx @@ -33,85 +33,83 @@ export const PublicDashboardListTable = () => { return ( -
- - - - - - - - - - {publicDashboards?.map((pd: ListPublicDashboardResponse) => { - const isOrphaned = !pd.dashboardUid; - return ( - - + + + + + + + + {publicDashboards?.map((pd: ListPublicDashboardResponse) => { + const isOrphaned = !pd.dashboardUid; + return ( + + + + - - - - ); - })} - -
NameStatus{isFetching && }
- +
NameStatus{isFetching && }
+ + {!isOrphaned ? ( + + {pd.title} + + ) : ( +
+

Orphaned public dashboard

+ +
+ )} +
+
+ + + + - {!isOrphaned ? ( - - {pd.title} - - ) : ( -
-

Orphaned public dashboard

- -
- )} - -
- - - - + + + + + {hasWritePermissions && ( + } > - - - - - - {hasWritePermissions && ( - } - > - - - )} - -
-
+ + + )} + + + + ); + })} + +
); };