File tree Expand file tree Collapse file tree
app/routes/list/standard-table/detail Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,22 +55,23 @@ export default AppRoute(() => {
5555 />
5656 < AppRouteHeader . Header
5757 aBack
58- aActions = { [
59- < DButton
60- disabled = { isUndefined ( device ) }
61- onClick = { ( ) => {
62- DialogService . open ( AppDeviceModal , {
63- aDevice : device ,
64- onSuccess : ( ) => {
65- setUpdateDevice ( ( n ) => n + 1 ) ;
66- } ,
67- } ) ;
68- } }
69- dIcon = { < EditOutlined /> }
70- >
71- Edit
72- </ DButton > ,
73- ] }
58+ aActions = {
59+ device && [
60+ < DButton
61+ onClick = { ( ) => {
62+ DialogService . open ( AppDeviceModal , {
63+ aDevice : device ,
64+ onSuccess : ( ) => {
65+ setUpdateDevice ( ( n ) => n + 1 ) ;
66+ } ,
67+ } ) ;
68+ } }
69+ dIcon = { < EditOutlined /> }
70+ >
71+ Edit
72+ </ DButton > ,
73+ ]
74+ }
7475 />
7576 </ AppRouteHeader >
7677 < div className = { styles [ 'app-detail' ] } >
Original file line number Diff line number Diff line change 2727 flex-wrap : wrap ;
2828 align-items : center ;
2929 justify-content : space-between ;
30+ min-height : 52px ;
3031 padding-bottom : 16px ;
3132 }
3233
You can’t perform that action at this time.
0 commit comments