mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-04 06:28:53 +00:00
fix(nui): Truncate total query time
This commit is contained in:
1 parent
255dc69b14
commit
f40741f613
2 files changed
+1
-2
No files matched your search
@@ -17,7 +17,7 @@ const RightBar: React.FC = () => {
|
|||||||
<Center>
|
<Center>
|
||||||
<VStack align="left">
|
<VStack align="left">
|
||||||
<Box>Total number of queries: {initData.totalQueries}</Box>
|
<Box>Total number of queries: {initData.totalQueries}</Box>
|
||||||
<Box>Total amount of time querying: {initData.totalTime}</Box>
|
<Box>Total amount of time querying: {Math.trunc(initData.totalTime)} ms</Box>
|
||||||
</VStack>
|
</VStack>
|
||||||
</Center>
|
</Center>
|
||||||
</Box>
|
</Box>
|
||||||
|
|||||||
@@ -12,7 +12,6 @@ import {
|
|||||||
ChevronRightIcon,
|
ChevronRightIcon,
|
||||||
} from '@chakra-ui/icons';
|
} from '@chakra-ui/icons';
|
||||||
import { useTable, useSortBy, Column, usePagination, useFlexLayout } from 'react-table';
|
import { useTable, useSortBy, Column, usePagination, useFlexLayout } from 'react-table';
|
||||||
import { debugData } from '../utils/debugData';
|
|
||||||
|
|
||||||
interface QueryData {
|
interface QueryData {
|
||||||
date: number;
|
date: number;
|
||||||
|
|||||||
Reference in new issue
Block a user