feat(views/table): get rid of note position column

This commit is contained in:
Elian Doran 2025-07-04 19:26:06 +03:00
parent 323e3d3cac
commit d5327b3b4a
No known key found for this signature in database

View File

@ -11,7 +11,6 @@ export type TableData = {
labels: Record<string, boolean | string | null>;
relations: Record<string, boolean | string | null>;
branchId: string;
position: number;
};
type ColumnType = LabelType | "relation";
@ -94,10 +93,6 @@ export function buildColumnDefinitions(info: PromotedAttributeInformation[]) {
field: "title",
title: "Title",
editor: "input"
},
{
field: "position",
title: "Position"
}
];
@ -155,7 +150,6 @@ export async function buildRowDefinitions(parentNote: FNote, notes: FNote[], inf
title: note.title,
labels,
relations,
position: branch.notePosition,
branchId: branch.branchId
});
}