pweety tables

This commit is contained in:
1ilit
2023-09-19 15:48:59 +03:00
parent 246aad77d0
commit b590236811
6 changed files with 119 additions and 54 deletions

View File

@@ -119,8 +119,8 @@ export default function Table(props) {
setVisible(true);
} else {
setTab(Tab.tables);
if (tab !== Tab.tables) return;
props.setSelectedTable(`${props.tableData.id}`);
if (tab !== Tab.tables) return;
document
.getElementById(`scroll_table_${props.tableData.id}`)
.scrollIntoView({ behavior: "smooth" });