customizations table part 1

This commit is contained in:
Proddy
2022-04-16 09:04:34 +02:00
parent 2f21c896a6
commit 275044bd78
4 changed files with 234 additions and 153 deletions

View File

@@ -285,11 +285,6 @@ const DashboardData: FC = () => {
}
);
const paul = () => {
console.log('paul');
sensor_sort.fns.onToggleSort({ sortKey: 'NAME' });
};
const device_select = useRowSelect(
{ nodes: coreData.devices },
{
@@ -829,8 +824,7 @@ const DashboardData: FC = () => {
fullWidth
style={{ fontSize: '14px', justifyContent: 'flex-start' }}
endIcon={getSortIcon(sensor_sort.state, 'NAME')}
// onClick={() => sensor_sort.fns.onToggleSort({ sortKey: 'NAME' })}
onClick={() => paul()}
onClick={() => sensor_sort.fns.onToggleSort({ sortKey: 'NAME' })}
>
NAME
</Button>