mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
Merge pull request #1133 from iamanishroy/save-sort-on-update
ROWY-960: Removed not required console logs
This commit is contained in:
@@ -25,12 +25,7 @@ export default function useApplySorts() {
|
||||
|
||||
useEffect(() => {
|
||||
if (applySort && Object.keys(tableSchema).length) {
|
||||
console.log("useApplySorts");
|
||||
const userDefaultSort = userSettings.tables?.[tableId]?.sorts || [];
|
||||
console.log({
|
||||
userDefaultSort,
|
||||
tableSchemaSorts: tableSchema.sorts,
|
||||
});
|
||||
setTableSorts(
|
||||
userDefaultSort.length ? userDefaultSort : tableSchema.sorts || []
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user