Skip to content

Commit 694e5fa

Browse files
author
manasa
committed
fixed the embedded test issue
1 parent f3b02e6 commit 694e5fa

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

packages/react-sdk-components/src/components/template/SimpleTable/SimpleTableManual/SimpleTableManual.tsx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ export default function SimpleTableManual(props: PropsWithChildren<SimpleTableMa
494494
setOpen(true);
495495
}
496496

497-
function _groupMenu() {}
497+
function _groupMenu() { }
498498

499499
function _closeDialog() {
500500
setOpen(false);
@@ -608,8 +608,8 @@ export default function SimpleTableManual(props: PropsWithChildren<SimpleTableMa
608608
return (
609609
<TableCell key={`head-${displayedColumns[index]}`} className={classes.tableCell}>
610610
{(readOnlyMode || allowEditingInModal) && field.cellRenderer !== 'DeleteIcon' ? (
611-
<div>
612-
<TableSortLabel
611+
<div style={{ display: 'flex' }}>
612+
<TableSortLabel style={{ width: '75%' }}
613613
active={orderBy === displayedColumns[index]}
614614
direction={orderBy === displayedColumns[index] ? order : 'asc'}
615615
onClick={createSortHandler(displayedColumns[index])}
@@ -620,9 +620,8 @@ export default function SimpleTableManual(props: PropsWithChildren<SimpleTableMa
620620
<span className={classes.visuallyHidden}>{order === 'desc' ? 'sorted descending' : 'sorted ascending'}</span>
621621
) : null}
622622
</TableSortLabel>
623-
<MoreIcon
623+
<MoreIcon style={{ cursor: 'pointer', zIndex: 1000 }}
624624
id='menu-icon'
625-
className={classes.moreIcon}
626625
onClick={event => {
627626
_menuClick(event, field.name, field.meta.type, field.label);
628627
}}
@@ -706,7 +705,7 @@ export default function SimpleTableManual(props: PropsWithChildren<SimpleTableMa
706705
})}
707706
</TableBody>
708707
</Table>
709-
{referenceList && referenceList.length === 0 && (
708+
{rowData && rowData.length === 0 && (
710709
<div className='no-records' id='no-records'>
711710
No records found.
712711
</div>

0 commit comments

Comments
 (0)