Shared:Changing the function to display the last column and the Name column too.

This commit is contained in:
Vlada Gazizova 2024-08-01 14:51:01 +03:00
parent b93441d1f2
commit f62d9ee64d

View File

@ -179,7 +179,7 @@ export const getLastColumn = (tableStorageName: string) => {
(column) => column !== "false" && column !== "QuickButtons",
);
if (filterColumns.length > 1) return filterColumns[filterColumns.length - 1];
if (filterColumns.length > 0) return filterColumns[filterColumns.length - 1];
return null;
};