File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
src/pages/Requests/components Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 2
2
import { jsx } from '@emotion/core'
3
3
import styled from '@emotion/styled/macro'
4
4
import css from '@emotion/css/macro'
5
+ import bytes from 'bytes'
5
6
import dayjs from 'dayjs'
6
7
import tw from 'twin.macro'
7
8
import React from 'react'
@@ -30,9 +31,17 @@ const ListItem: React.FC<{ req: RequestItem }> = ({ req }) => {
30
31
/>
31
32
< div tw = "text-xs ml-1" > #{ req . id } </ div >
32
33
< div tw = "text-xs ml-1" >
33
- { dayjs . unix ( req . startDate ) . format ( 'HH:mm:ss' ) }
34
+ < span > - </ span >
35
+ < span > { dayjs . unix ( req . startDate ) . format ( 'HH:mm:ss' ) } </ span >
36
+ </ div >
37
+ < div tw = "text-xs ml-1" >
38
+ < span > - </ span >
39
+ < span > { bytes ( req . inBytes + req . outBytes ) } </ span >
40
+ </ div >
41
+ < div tw = "text-xs ml-1" >
42
+ < span > - </ span >
43
+ < span > { req . status } </ span >
34
44
</ div >
35
- < div tw = "text-xs ml-1" > { req . status } </ div >
36
45
</ div >
37
46
</ React . Fragment >
38
47
)
You can’t perform that action at this time.
0 commit comments