diff --git a/ui/src/console/PropertyTable.js b/ui/src/console/PropertyTable.js
index b4c95dfa..454a9f27 100644
--- a/ui/src/console/PropertyTable.js
+++ b/ui/src/console/PropertyTable.js
@@ -36,8 +36,15 @@ const PropertyTable = (props) => {
},
{
name: "Value",
- selector: row => rowToValue(row),
- sortable: true,
+ cell: row => {
+ if(props.custom) {
+ if(row.property in props.custom) {
+ console.log(Date.now());
+ return props.custom[row.property](row);
+ }
+ }
+ return rowToValue(row)
+ },
grow: 3
}
];
diff --git a/ui/src/console/detail/ShareDetail.js b/ui/src/console/detail/ShareDetail.js
index de7981d7..ed956c6b 100644
--- a/ui/src/console/detail/ShareDetail.js
+++ b/ui/src/console/detail/ShareDetail.js
@@ -3,7 +3,6 @@ import {Sparklines, SparklinesLine, SparklinesSpots} from "react-sparklines";
import {useEffect, useState} from "react";
import {mdiShareVariant} from "@mdi/js";
import Icon from "@mdi/react";
-import {Tab, Tabs} from "react-bootstrap";
import PropertyTable from "../PropertyTable";
const ShareDetail = (props) => {
@@ -30,24 +29,18 @@ const ShareDetail = (props) => {
}
}, [props.selection]);
+ const customProperties = {
+ metrics: row =>