Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
feat(views/table): get rid of note position column
Elian Dorand5327b3b4ad7
diff --git a/apps/client/src/widgets/view_widgets/table_view/data.ts b/apps/client/src/widgets/view_widgets/table_view/data.tsindex 0ed508622b..9866fbb492 100644--- a/apps/client/src/widgets/view_widgets/table_view/data.ts+++ b/apps/client/src/widgets/view_widgets/table_view/data.ts@@ -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[], inftitle: note.title,labels,relations,- position: branch.notePosition,branchId: branch.branchId});}