File tree Expand file tree Collapse file tree 2 files changed +20
-15
lines changed Expand file tree Collapse file tree 2 files changed +20
-15
lines changed Original file line number Diff line number Diff line change @@ -26,9 +26,9 @@ const EntityNameTableData = ({
26
26
children,
27
27
onToggleDetailsClick,
28
28
} ) => (
29
- < TableData flex = "column" >
30
- < Layout align = " space-between" >
31
- < Layout flex = "column" >
29
+ < TableData >
30
+ < Layout align = { ' space-between' } columns = { 2 } >
31
+ < div >
32
32
{ entity . isOrphan ( ) && < b > { _ ( 'Orphan' ) } </ b > }
33
33
{ isDefined ( onToggleDetailsClick ) ? (
34
34
< span >
@@ -45,19 +45,22 @@ const EntityNameTableData = ({
45
45
{ entity . deprecated && < b > ({ _ ( 'Deprecated' ) } )</ b > }
46
46
</ span >
47
47
) }
48
+ { isDefined ( entity . comment ) && < Comment > ({ entity . comment } )</ Comment > }
49
+ { children }
50
+ </ div >
51
+ < Layout alignItems = "center" >
52
+ < ObserverIcon
53
+ displayName = { displayName }
54
+ entity = { entity }
55
+ userName = { username }
56
+ />
48
57
</ Layout >
49
- < ObserverIcon
50
- displayName = { displayName }
51
- entity = { entity }
52
- userName = { username }
53
- />
54
58
</ Layout >
55
- { isDefined ( entity . comment ) && < Comment > ({ entity . comment } )</ Comment > }
56
- { children }
57
59
</ TableData >
58
60
) ;
59
61
60
62
EntityNameTableData . propTypes = {
63
+ children : PropTypes . node ,
61
64
displayName : PropTypes . string . isRequired ,
62
65
entity : PropTypes . model . isRequired ,
63
66
links : PropTypes . bool ,
Original file line number Diff line number Diff line change @@ -92,10 +92,13 @@ const Row = ({
92
92
return (
93
93
< TableRow >
94
94
< TableData >
95
- < Layout align = "space-between" >
96
- < RowDetailsToggle name = { entity . id } onClick = { onToggleDetailsClick } >
97
- { entity . name }
98
- </ RowDetailsToggle >
95
+ < Layout align = { 'space-between' } columns = { 2 } >
96
+ < div >
97
+ < RowDetailsToggle name = { entity . id } onClick = { onToggleDetailsClick } >
98
+ { entity . name }
99
+ </ RowDetailsToggle >
100
+ { entity . comment && < Comment > ({ entity . comment } )</ Comment > }
101
+ </ div >
99
102
< IconDivider >
100
103
{ entity . alterable === 1 && (
101
104
< AlterableIcon size = "small" title = { _ ( 'Task is alterable' ) } />
@@ -129,7 +132,6 @@ const Row = ({
129
132
) }
130
133
</ IconDivider >
131
134
</ Layout >
132
- { entity . comment && < Comment > ({ entity . comment } )</ Comment > }
133
135
</ TableData >
134
136
< TableData >
135
137
< TaskStatus links = { links } task = { entity } />
You can’t perform that action at this time.
0 commit comments