diff --git a/frontend/app/components/Dashboard/components/DashboardList/DashboardList.tsx b/frontend/app/components/Dashboard/components/DashboardList/DashboardList.tsx
index 9e5881129..e44b338d5 100644
--- a/frontend/app/components/Dashboard/components/DashboardList/DashboardList.tsx
+++ b/frontend/app/components/Dashboard/components/DashboardList/DashboardList.tsx
@@ -34,14 +34,6 @@ function DashboardList({ siteId }: { siteId: string }) {
sortDirections: ['ascend', 'descend'],
render: (t) =>
{t}
,
},
- {
- title: 'Last Modified',
- dataIndex: 'updatedAt',
- width: '16.67%',
- sorter: (a, b) => a.updatedAt.toMillis() - b.updatedAt.toMillis(),
- sortDirections: ['ascend', 'descend'],
- render: (date) => checkForRecent(date, 'LLL dd, yyyy, hh:mm a'),
- },
{
title: 'Owner',
dataIndex: 'owner',
@@ -50,6 +42,15 @@ function DashboardList({ siteId }: { siteId: string }) {
sortDirections: ['ascend', 'descend'],
render: (owner) => {owner}
,
},
+ {
+ title: 'Last Modified',
+ dataIndex: 'updatedAt',
+ width: '16.67%',
+ sorter: (a, b) => a.updatedAt.toMillis() - b.updatedAt.toMillis(),
+ sortDirections: ['ascend', 'descend'],
+ render: (date) => checkForRecent(date, 'LLL dd, yyyy, hh:mm a'),
+ },
+
{
title: (
diff --git a/frontend/app/components/Dashboard/components/MetricListItem/MetricListItem.tsx b/frontend/app/components/Dashboard/components/MetricListItem/MetricListItem.tsx
index edcb63a4f..bbb948801 100644
--- a/frontend/app/components/Dashboard/components/MetricListItem/MetricListItem.tsx
+++ b/frontend/app/components/Dashboard/components/MetricListItem/MetricListItem.tsx
@@ -28,7 +28,7 @@ function MetricTypeIcon({ type }: any) {
return (
{card.title}
}>
- } className="bg-tealx-lightest mr-2" />
+ } size="small" className="bg-tealx-lightest mr-2" />
);
}
diff --git a/frontend/app/components/Dashboard/components/MetricViewHeader/MetricViewHeader.tsx b/frontend/app/components/Dashboard/components/MetricViewHeader/MetricViewHeader.tsx
index b36eb68c9..ac9d69bdd 100644
--- a/frontend/app/components/Dashboard/components/MetricViewHeader/MetricViewHeader.tsx
+++ b/frontend/app/components/Dashboard/components/MetricViewHeader/MetricViewHeader.tsx
@@ -64,7 +64,7 @@ function MetricViewHeader({ siteId }: { siteId: string }) {
-
metricStore.updateKey('filter', { ...filter, showMine: !filter.showMine })
}
- />
+ /> */}
= (props: Props) => {
dataIndex: 'name',
key: 'title',
className: 'cap-first',
- width: '35%',
sorter: true,
render: (text: string, metric: Metric) => (
= (props: Props) => {
dataIndex: 'owner',
key: 'owner',
className: 'capitalize',
- width: '25%',
+ width: '30%',
sorter: true,
render: (text: string, metric: Metric) => (
= (props: Props) => {
dataIndex: 'lastModified',
key: 'lastModified',
sorter: true,
+ width: '16.67%',
render: (text: string, metric: Metric) => (
= (props: Props) => {
/>
)
},
- {
- title: 'Visibility',
- dataIndex: 'visibility',
- key: 'visibility',
- width: '10%',
- render: (text: string, metric: Metric) => (
-
- )
- },
+ // {
+ // title: 'Visibility',
+ // dataIndex: 'visibility',
+ // key: 'visibility',
+ // width: '10%',
+ // render: (text: string, metric: Metric) => (
+ //
+ // )
+ // },
{
title: '',
key: 'options',
className: 'text-right',
+ width: '5%',
render: (text: string, metric: Metric) => (
= (props: Props) => {
dataSource={paginatedData}
rowKey="metricId"
onChange={handleTableChange}
+ size='middle'
rowSelection={
!disableSelection
? {