Properly show model
This commit is contained in:
@@ -51,11 +51,6 @@ export const TableRow = ({
|
|||||||
const timeAgo = dayjs(loggedCall.requestedAt).fromNow();
|
const timeAgo = dayjs(loggedCall.requestedAt).fromNow();
|
||||||
const fullTime = dayjs(loggedCall.requestedAt).toString();
|
const fullTime = dayjs(loggedCall.requestedAt).toString();
|
||||||
|
|
||||||
const model = useMemo(
|
|
||||||
() => loggedCall.tags.find((tag) => tag.name.startsWith("$model"))?.value,
|
|
||||||
[loggedCall.tags],
|
|
||||||
);
|
|
||||||
|
|
||||||
const durationCell = (
|
const durationCell = (
|
||||||
<Td isNumeric>
|
<Td isNumeric>
|
||||||
{loggedCall.cacheHit
|
{loggedCall.cacheHit
|
||||||
@@ -92,7 +87,7 @@ export const TableRow = ({
|
|||||||
borderWidth={1}
|
borderWidth={1}
|
||||||
fontSize="xs"
|
fontSize="xs"
|
||||||
>
|
>
|
||||||
{model}
|
{loggedCall.model}
|
||||||
</Text>
|
</Text>
|
||||||
</HStack>
|
</HStack>
|
||||||
</Td>
|
</Td>
|
||||||
|
|||||||
Reference in New Issue
Block a user