Build arg setter for position (#4396)

* Build arg setter for position

* Build separated query factory + rename existing

* Sort record by position in front

* Add tests

* Set first for type board

---------

Co-authored-by: Thomas Trompette <thomast@twenty.com>
This commit is contained in:
Thomas Trompette
2024-03-11 16:18:15 +01:00
committed by GitHub
parent e26572b408
commit c82c60b448
13 changed files with 323 additions and 4 deletions

View File

@ -37,7 +37,7 @@ export const RecordIndexPage = () => {
const handleAddButtonClick = async () => {
await createOneObject?.({
position: 0,
position: 'first',
});
setSelectedTableCellEditMode(0, 0);